mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix deleting / erasing note
This commit is contained in:
		| @@ -670,7 +670,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { | ||||
|         const note = branch.getNoteFromCache(); | ||||
|  | ||||
|         if (!note) { | ||||
|             throw new Error(`Branch "${branch.branchId}" has no note "${branch.noteId}"`); | ||||
|             throw new Error(`Branch "${branch.branchId}" has no child note "${branch.noteId}"`); | ||||
|         } | ||||
|  | ||||
|         const title = (branch.prefix ? (branch.prefix + " - ") : "") + note.title; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user