mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08: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