refresh note list on pageSize update

This commit is contained in:
zadam 2023-02-10 13:21:00 +01:00
parent 44629e6a0a
commit 33d6bb69c0

View File

@ -93,7 +93,7 @@ export default class NoteListWidget extends NoteContextAwareWidget {
} }
entitiesReloadedEvent({loadResults}) { entitiesReloadedEvent({loadResults}) {
if (loadResults.getAttributes().find(attr => attr.noteId === this.noteId && ['viewType', 'expanded'].includes(attr.name))) { if (loadResults.getAttributes().find(attr => attr.noteId === this.noteId && ['viewType', 'expanded', 'pageSize'].includes(attr.name))) {
this.shownNoteId = null; // force render this.shownNoteId = null; // force render
this.checkRenderStatus(); this.checkRenderStatus();