mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
basic support for custom widgets
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import server from "./server.js";
|
||||
import treeCache from "./tree_cache.js";
|
||||
import bundleService from "./bundle.js";
|
||||
import DialogCommandExecutor from "./dialog_command_executor.js";
|
||||
@@ -18,10 +17,10 @@ class AppContext extends Component {
|
||||
}
|
||||
|
||||
async start() {
|
||||
options.load(await server.get('options'));
|
||||
|
||||
this.showWidgets();
|
||||
|
||||
await Promise.all([treeCache.initializedPromise, options.initializedPromise]);
|
||||
|
||||
this.tabManager.loadTabs();
|
||||
|
||||
setTimeout(() => bundleService.executeStartupBundles(), 2000);
|
||||
|
||||
Reference in New Issue
Block a user