mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix node focus after hoisting
This commit is contained in:
parent
29828f8e8f
commit
eee75bd2e8
@ -25,6 +25,12 @@ async function setHoistedNoteId(noteId) {
|
|||||||
await server.put('options/hoistedNoteId/' + noteId);
|
await server.put('options/hoistedNoteId/' + noteId);
|
||||||
|
|
||||||
await tree.reload();
|
await tree.reload();
|
||||||
|
|
||||||
|
const activeTabContext = noteDetailService.getActiveTabContext();
|
||||||
|
|
||||||
|
if (activeTabContext) {
|
||||||
|
await tree.activateNote(activeTabContext.notePath);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function unhoist() {
|
async function unhoist() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user