mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
hoisting note now seems to work correctly in relation to tabs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user