hoisting note now seems to work correctly in relation to tabs

This commit is contained in:
zadam
2019-05-11 21:27:27 +02:00
parent bd97df5ee9
commit 2dec8f1ad6
7 changed files with 84 additions and 53 deletions

View File

@@ -16,12 +16,12 @@ async function getHoistedNoteId() {
}
async function setHoistedNoteId(noteId) {
hoistedNoteId = noteId;
if (noteId !== 'root') {
await noteDetailService.filterTabs(noteId);
}
hoistedNoteId = noteId;
await server.put('options/hoistedNoteId/' + noteId);
await tree.reload();