Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client: add a leading whitespace to note paths
Adorian Doran4e2cd4ac35cf
diff --git a/src/public/app/services/tree.js b/src/public/app/services/tree.jsindex 341f818576..2726036b9f 100644--- a/src/public/app/services/tree.js+++ b/src/public/app/services/tree.js@@ -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]));