mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
branches in tree cache should always be loaded if some branchId reference exists
This commit is contained in:
@@ -62,7 +62,7 @@ async function getNoteTitle(noteId, parentNoteId = null) {
|
||||
const branchId = note.parentToBranch[parentNoteId];
|
||||
|
||||
if (branchId) {
|
||||
const branch = await treeCache.getBranch(branchId);
|
||||
const branch = treeCache.getBranch(branchId);
|
||||
|
||||
if (branch && branch.prefix) {
|
||||
title = branch.prefix + ' - ' + title;
|
||||
|
||||
Reference in New Issue
Block a user