WIP per-tab hoisting

This commit is contained in:
zadam
2020-11-23 23:11:21 +01:00
parent 52b8162d01
commit ac636b6649
5 changed files with 11 additions and 7 deletions

View File

@@ -86,6 +86,10 @@ function getNoteTitle(childNoteId, parentNoteId) {
}
function getNoteTitleArrayForPath(notePathArray) {
if (notePathArray.length === 1 && notePathArray[0] === cls.getHoistedNoteId()) {
return [getNoteTitle(cls.getHoistedNoteId())];
}
const titles = [];
let parentNoteId = 'root';