mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
removed unused methods
This commit is contained in:
parent
6426157bb3
commit
cf84114f91
@ -60,23 +60,6 @@ const noteTree = (function() {
|
||||
return treeUtils.getNotePath(node);
|
||||
}
|
||||
|
||||
function getCurrentNoteId() {
|
||||
const node = getCurrentNode();
|
||||
|
||||
return node ? node.data.note_id : null;
|
||||
}
|
||||
|
||||
function getCurrentClones() {
|
||||
const noteId = getCurrentNoteId();
|
||||
|
||||
if (noteId) {
|
||||
return getNodesByNoteId(noteId);
|
||||
}
|
||||
else {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
function getNodesByNoteTreeId(noteTreeId) {
|
||||
assertArguments(noteTreeId);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user