mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
client: Refresh calendar immediately
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user