Skip to content

Build your personal knowledge base with Trilium Notes

fix demo document relation map and shortcuts before db initialization

zadam420be6d8c611
diff --git a/db/demo.tar b/db/demo.tar
index 3e5c0d6566..921b85d198 100644
Binary files a/db/demo.tar and b/db/demo.tar differ
diff --git a/electron.js b/electron.js
index 0db820e8e3..7553b27366 100644
--- a/electron.js
+++ b/electron.js
@@ -97,6 +97,8 @@ app.on('activate', () => {
});
async function registerGlobalShortcuts() {
+ await sqlInit.dbReady;
+
const allActions = await keyboardActionsService.getKeyboardActions();
for (const action of allActions) {