diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js index 2411a0bf8..08e80d916 100644 --- a/src/public/app/widgets/note_tree.js +++ b/src/public/app/widgets/note_tree.js @@ -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)) { if (parentNode.isFolder() && !parentNode.isLoaded()) { continue; @@ -1040,7 +1040,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { await froca.getNote(ecBranch.noteId); const frocaBranch = froca.getBranch(ecBranch.branchId); - // we're forcing lazy since it's not clear if the whole required subtree is in froca + // we're forcing lazy since it's not clear if the whole required subtree is in froca parentNode.addChildren([this.prepareNode(frocaBranch, true)]); this.sortChildren(parentNode); diff --git a/src/public/stylesheets/tree.css b/src/public/stylesheets/tree.css index a8beb9302..4ce2dd191 100644 --- a/src/public/stylesheets/tree.css +++ b/src/public/stylesheets/tree.css @@ -13,6 +13,8 @@ span.fancytree-node.fancytree-hide { .fancytree-title { margin-left: 7px; outline: none; + position: relative; + top: 2px; } .fancytree-expander {