mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	refactor: 💡 remove unused command data (editNoteTitle)
This commit is contained in:
		
							parent
							
								
									e555a3354f
								
							
						
					
					
						commit
						54a0bdeb14
					
				@ -138,7 +138,6 @@ export type CommandMappings = {
 | 
				
			|||||||
    insertNoteAfter: ContextMenuCommandData;
 | 
					    insertNoteAfter: ContextMenuCommandData;
 | 
				
			||||||
    insertChildNote: ContextMenuCommandData;
 | 
					    insertChildNote: ContextMenuCommandData;
 | 
				
			||||||
    delete: ContextMenuCommandData;
 | 
					    delete: ContextMenuCommandData;
 | 
				
			||||||
    editNoteTitle: ContextMenuCommandData;
 | 
					 | 
				
			||||||
    protectSubtree: ContextMenuCommandData;
 | 
					    protectSubtree: ContextMenuCommandData;
 | 
				
			||||||
    unprotectSubtree: ContextMenuCommandData;
 | 
					    unprotectSubtree: ContextMenuCommandData;
 | 
				
			||||||
    openBulkActionsDialog:
 | 
					    openBulkActionsDialog:
 | 
				
			||||||
 | 
				
			|||||||
@ -1687,7 +1687,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
        this.triggerCommand("showImportDialog", { noteId: node.data.noteId });
 | 
					        this.triggerCommand("showImportDialog", { noteId: node.data.noteId });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    editNoteTitleCommand({ node }: CommandListenerData<"editNoteTitle">) {
 | 
					    editNoteTitleCommand() {
 | 
				
			||||||
        appContext.triggerCommand("focusOnTitle");
 | 
					        appContext.triggerCommand("focusOnTitle");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user