From 33d6bb69c048224e30fb405bf68694eee5f09db8 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 10 Feb 2023 13:21:00 +0100 Subject: [PATCH] refresh note list on pageSize update --- src/public/app/widgets/note_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_list.js b/src/public/app/widgets/note_list.js index 25aa22774..37b27e0c5 100644 --- a/src/public/app/widgets/note_list.js +++ b/src/public/app/widgets/note_list.js @@ -93,7 +93,7 @@ export default class NoteListWidget extends NoteContextAwareWidget { } 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.checkRenderStatus();