mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(hidden_subtree): update help note icons
This commit is contained in:
parent
97bc103e76
commit
a1bfc6aae7
@ -408,10 +408,13 @@ function checkHiddenSubtreeRecursively(parentNoteId: string, item: HiddenSubtree
|
|||||||
value: attr.value,
|
value: attr.value,
|
||||||
isInheritable: false
|
isInheritable: false
|
||||||
}).save();
|
}).save();
|
||||||
} else if (attr.name === "docName") {
|
} else if (attr.name === "docName"
|
||||||
// Updating docname
|
|| (existingAttribute.noteId.startsWith("_help") && attr.name === "iconClass")) {
|
||||||
existingAttribute.value = attr.value ?? "";
|
if (existingAttribute.value !== attr.value) {
|
||||||
existingAttribute.save();
|
existingAttribute.value = attr.value ?? "";
|
||||||
|
console.log("Updating attribute ", attrId);
|
||||||
|
existingAttribute.save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user