fix node focus after hoisting

This commit is contained in:
zadam 2019-05-21 22:07:08 +02:00
parent 29828f8e8f
commit eee75bd2e8

View File

@ -25,6 +25,12 @@ async function setHoistedNoteId(noteId) {
await server.put('options/hoistedNoteId/' + noteId);
await tree.reload();
const activeTabContext = noteDetailService.getActiveTabContext();
if (activeTabContext) {
await tree.activateNote(activeTabContext.notePath);
}
}
async function unhoist() {