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
fix bug
zadam873953cbaf2f
diff --git a/src/public/app/services/tree.js b/src/public/app/services/tree.jsindex ee4b5bb83f..4eb6d32ed8 100644--- a/src/public/app/services/tree.js+++ b/src/public/app/services/tree.js@@ -101,7 +101,7 @@ function getSomeNotePathSegments(note, hoistedNotePath = 'root') {const notePaths = note.getSortedNotePaths(hoistedNotePath);- return notePaths[0].notePath;+ return notePaths[0];}function getSomeNotePath(note, hoistedNotePath = 'root') {