mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
client,server: Add first day of week option
This commit is contained in:
@@ -206,4 +206,11 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
|
||||
this.$monthSelect.val(this.date.getMonth());
|
||||
this.$yearSelect.val(this.date.getFullYear());
|
||||
}
|
||||
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.getOptionNames().includes("firstDayOfWeek")) {
|
||||
this.init();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user