feat(views/calendar): add option to hide weekends

This commit is contained in:
Elian Doran
2025-02-21 17:52:11 +02:00
parent 710cf68c06
commit 42d46bdb72
3 changed files with 20 additions and 5 deletions

View File

@@ -117,8 +117,10 @@ export default class NoteListWidget extends NoteContextAwareWidget {
this.checkRenderStatus();
}
if (this.viewMode) {
this.viewMode.entitiesReloadedEvents(e);
// Inform the view mode of changes and refresh if needed.
if (this.viewMode && this.viewMode.onEntitiesReloaded(e)) {
this.refresh();
this.checkRenderStatus();
}
}
}