mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	refactor(command_palette): use declarative command approach
This commit is contained in:
		| @@ -179,6 +179,7 @@ export default class JumpToNoteDialog extends BasicWidget { | ||||
|  | ||||
|                 // If we restored a command mode value, manually trigger command display | ||||
|                 if (this.isCommandMode) { | ||||
|                     console.log("DEBUG: Restoring command mode, clearing and showing commands"); | ||||
|                     // Clear the value first, then set it to ">" to trigger a proper change | ||||
|                     this.$autoComplete.autocomplete("val", ""); | ||||
|                     noteAutocompleteService.showAllCommands(this.$autoComplete); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user