mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
refresh note list on pageSize update
This commit is contained in:
parent
44629e6a0a
commit
33d6bb69c0
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user