Skip to content

Commit

Permalink
client: Refresh calendar immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Aug 31, 2024
1 parent 5c326c5 commit 3a3dae3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/public/app/widgets/buttons/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,12 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
}

async entitiesReloadedEvent({loadResults}) {
if (loadResults.getOptionNames().includes("firstDayOfWeek")) {
this.manageFirstDayOfWeek();
if (!loadResults.getOptionNames().includes("firstDayOfWeek")) {
return;
}

this.manageFirstDayOfWeek();
this.createMonth();
}

}

0 comments on commit 3a3dae3

Please sign in to comment.