mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
In the breadcrumb path processing loop, the function exits too early when it encounters a level without a folder note, so later levels are never checked. Because of this early return, clicking a deeper path segment does not open its folder note unless all ancestor folders also have folder notes.
This commit is contained in:
parent
85cd981d8d
commit
f6a28dab67
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ async function updateFolderNamesInPath(
|
|||
viewHeaderTitle.classList.remove('path-is-folder-note');
|
||||
}
|
||||
}
|
||||
if (!folderNote) return;
|
||||
if (!folderNote) continue;
|
||||
if (folderNote) breadcrumb.classList.add('has-folder-note');
|
||||
breadcrumb?.setAttribute('data-path', path.slice(0, -TRAILING_SLASH_LENGTH));
|
||||
if (!breadcrumb.onclick) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue