button changes and book properties

This commit is contained in:
zadam
2021-05-27 23:17:13 +02:00
parent 614b1bdbaf
commit 7fcf90437a
10 changed files with 167 additions and 3202 deletions

View File

@@ -92,4 +92,12 @@ export default class NoteListWidget extends NoteContextAwareWidget {
this.refresh();
}
}
entitiesReloadedEvent({loadResults}) {
if (loadResults.getAttributes().find(attr => attr.noteId === this.noteId && attr.name === 'viewType')) {
this.shownNoteId = null; // force render
this.checkRenderStatus();
}
}
}