mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
date note fixes
This commit is contained in:
@@ -55,8 +55,6 @@ class TreeCache {
|
||||
if (childNote) {
|
||||
childNote.parents = childNote.parents.filter(p => p !== noteId);
|
||||
|
||||
console.log("Cleaning up", childNote.parentToBranch[noteId]);
|
||||
|
||||
delete this.branches[childNote.parentToBranch[noteId]];
|
||||
delete childNote.parentToBranch[noteId];
|
||||
}
|
||||
@@ -75,10 +73,6 @@ class TreeCache {
|
||||
}
|
||||
|
||||
for (const branch of branchesByNotes[noteId] || []) { // can be empty for deleted notes
|
||||
if (noteId === '2Ndfjyv3EbEQ') {
|
||||
console.log("Adding", branch.branchId);
|
||||
}
|
||||
|
||||
this.branches[branch.branchId] = branch;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user