Skip to content

Build your personal knowledge base with Trilium Notes

fixed glitch where "unhoist" button disappears after renaming the hoisted note

azivner9e2e6fb50ccb
diff --git a/src/public/javascripts/services/tree.js b/src/public/javascripts/services/tree.js
index 381ad1a553..affcd7022f 100644
--- a/src/public/javascripts/services/tree.js
+++ b/src/public/javascripts/services/tree.js
@@ -81,6 +81,9 @@ async function setNodeTitleWithPrefix(node) {
const title = (prefix ? (prefix + " - ") : "") + noteTitle;
node.setTitle(utils.escapeHtml(title));
+
+ // workaround for this: https://github.com/mar10/fancytree/issues/927
+ node.render(true, false);
}
function getNode(childNoteId, parentNoteId) {