mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	Make note-detail-empty always display autocompletion.
This commit is contained in:
		
							parent
							
								
									dbca50d9b0
								
							
						
					
					
						commit
						cdd5a17fce
					
				@ -67,6 +67,7 @@ export default class EmptyTypeWidget extends TypeWidget {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        this.$workspaceNotes = this.$widget.find('.workspace-notes');
 | 
					        this.$workspaceNotes = this.$widget.find('.workspace-notes');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        noteAutocompleteService.showRecentNotes(this.$autoComplete);
 | 
				
			||||||
        super.doRender();
 | 
					        super.doRender();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -88,7 +89,5 @@ export default class EmptyTypeWidget extends TypeWidget {
 | 
				
			|||||||
        this.$autoComplete
 | 
					        this.$autoComplete
 | 
				
			||||||
            .trigger('focus')
 | 
					            .trigger('focus')
 | 
				
			||||||
            .trigger('select');
 | 
					            .trigger('select');
 | 
				
			||||||
 | 
					 | 
				
			||||||
        noteAutocompleteService.showRecentNotes(this.$autoComplete);
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user