mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
more cleanup
This commit is contained in:
@@ -7,7 +7,7 @@ const treeUtils = (function() {
|
||||
return (node.getParent() === null || node.getParent().key === "root_1") ? "root" : node.getParent().key;
|
||||
}
|
||||
|
||||
function getParentEncryption(node) {
|
||||
function getParentProtectedStatus(node) {
|
||||
return node.getParent() === null ? 0 : node.getParent().data.is_protected;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ const treeUtils = (function() {
|
||||
|
||||
return {
|
||||
getParentKey,
|
||||
getParentEncryption,
|
||||
getParentProtectedStatus,
|
||||
getNodeByKey,
|
||||
activateNode,
|
||||
getNoteTitle,
|
||||
|
||||
Reference in New Issue
Block a user