mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
WIP per-tab hoisting
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import options from './options.js';
|
||||
import appContext from "./app_context.js";
|
||||
import treeService from "./tree.js";
|
||||
import treeCache from "./tree_cache.js";
|
||||
|
||||
function getHoistedNoteId() {
|
||||
return options.get('hoistedNoteId');
|
||||
@@ -14,9 +13,6 @@ async function setHoistedNoteId(noteId) {
|
||||
|
||||
await options.save('hoistedNoteId', noteId);
|
||||
|
||||
await treeCache.loadInitialTree();
|
||||
|
||||
// FIXME - just use option load event
|
||||
appContext.triggerEvent('hoistedNoteChanged', {noteId});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user