From 873953cbaf2f029d41f825691d74436e8909a862 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 8 Mar 2021 00:09:48 +0100 Subject: [PATCH] fix bug --- src/public/app/services/tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/services/tree.js b/src/public/app/services/tree.js index ee4b5bb83..4eb6d32ed 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') {