mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +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; | ||||
|     insertChildNote: ContextMenuCommandData; | ||||
|     delete: ContextMenuCommandData; | ||||
|     editNoteTitle: ContextMenuCommandData; | ||||
|     protectSubtree: ContextMenuCommandData; | ||||
|     unprotectSubtree: ContextMenuCommandData; | ||||
|     openBulkActionsDialog: | ||||
|  | ||||
| @ -1687,7 +1687,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { | ||||
|         this.triggerCommand("showImportDialog", { noteId: node.data.noteId }); | ||||
|     } | ||||
| 
 | ||||
|     editNoteTitleCommand({ node }: CommandListenerData<"editNoteTitle">) { | ||||
|     editNoteTitleCommand() { | ||||
|         appContext.triggerCommand("focusOnTitle"); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jin
						Jin