mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
branches in tree cache should always be loaded if some branchId reference exists
This commit is contained in:
@@ -91,7 +91,7 @@ async function showTree() {
|
||||
|
||||
$detail.on("click", ".note-menu-button", async e => {
|
||||
const node = treeService.getActiveNode();
|
||||
const branch = await treeCache.getBranch(node.data.branchId);
|
||||
const branch = treeCache.getBranch(node.data.branchId);
|
||||
const note = await treeCache.getNote(node.data.noteId);
|
||||
const parentNote = await treeCache.getNote(branch.parentNoteId);
|
||||
const isNotRoot = note.noteId !== 'root';
|
||||
|
||||
Reference in New Issue
Block a user