client: add a leading whitespace to note paths

This commit is contained in:
Adorian Doran
2024-12-05 02:56:44 +02:00
parent 84cb13595a
commit 4e2cd4ac35

View File

@@ -275,7 +275,7 @@ async function getNoteTitleWithPathAsSuffix(notePath) {
if (path.length > 0) {
const $notePath = $('<span class="note-path">');
$notePath.append($(`<span class="path-bracket">(</span>)`));
$notePath.append($(`<span class="path-bracket"> (</span>)`));
for (let segmentIndex = 0; segmentIndex < path.length; segmentIndex++) {
$notePath.append($(`<span>`).text(path[segmentIndex]));