Skip to content

Build your personal knowledge base with Trilium Notes

refresh note list on pageSize update

zadam33d6bb69c048
diff --git a/src/public/app/widgets/note_list.js b/src/public/app/widgets/note_list.js
index 25aa227741..37b27e0c59 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();