mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
fixed glitch where "unhoist" button disappears after renaming the hoisted note
This commit is contained in:
@@ -81,6 +81,9 @@ async function setNodeTitleWithPrefix(node) {
|
|||||||
const title = (prefix ? (prefix + " - ") : "") + noteTitle;
|
const title = (prefix ? (prefix + " - ") : "") + noteTitle;
|
||||||
|
|
||||||
node.setTitle(utils.escapeHtml(title));
|
node.setTitle(utils.escapeHtml(title));
|
||||||
|
|
||||||
|
// workaround for this: https://github.com/mar10/fancytree/issues/927
|
||||||
|
node.render(true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNode(childNoteId, parentNoteId) {
|
function getNode(childNoteId, parentNoteId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user