feat(view/calendar): improve display when creating empty note

This commit is contained in:
Elian Doran
2025-02-16 19:17:15 +02:00
parent e73ea36161
commit 169b2269b1
3 changed files with 13 additions and 4 deletions

View File

@@ -107,8 +107,7 @@ export default class NoteListWidget extends NoteContextAwareWidget {
entitiesReloadedEvent(e: EventData<"entitiesReloaded">) {
if (e.loadResults.getAttributeRows().find((attr) => attr.noteId === this.noteId && attr.name && ["viewType", "expanded", "pageSize"].includes(attr.name))) {
this.shownNoteId = null; // force render
this.refresh();
this.checkRenderStatus();
}