mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix hidden notes appearing after creation in a new document
This commit is contained in:
		| @@ -1027,7 +1027,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             if (!ecBranch.isDeleted) { |             if (!ecBranch.isDeleted && ecBranch.noteId !== 'hidden') { | ||||||
|                 for (const parentNode of this.getNodesByNoteId(ecBranch.parentNoteId)) { |                 for (const parentNode of this.getNodesByNoteId(ecBranch.parentNoteId)) { | ||||||
|                     if (parentNode.isFolder() && !parentNode.isLoaded()) { |                     if (parentNode.isFolder() && !parentNode.isLoaded()) { | ||||||
|                         continue; |                         continue; | ||||||
|   | |||||||
| @@ -13,6 +13,8 @@ span.fancytree-node.fancytree-hide { | |||||||
| .fancytree-title { | .fancytree-title { | ||||||
|     margin-left: 7px; |     margin-left: 7px; | ||||||
|     outline: none; |     outline: none; | ||||||
|  |     position: relative; | ||||||
|  |     top: 2px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .fancytree-expander { | .fancytree-expander { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user