client: Refresh calendar immediately

This commit is contained in:
Elian Doran 2024-08-31 17:08:55 +03:00
parent 5c326c553c
commit 3a3dae3d02
No known key found for this signature in database

View File

@ -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();
}
}