mirror of
https://github.com/zadam/trilium.git
synced 2026-01-03 14:10:00 +01:00
#98, sync is now configured in the options
This commit is contained in:
@@ -31,8 +31,8 @@ async function initDbConnection() {
|
||||
|
||||
await sql.execute("PRAGMA foreign_keys = ON");
|
||||
|
||||
if (isDbInitialized()) {
|
||||
log.info("DB not found, please visit setup page to initialize Trilium.");
|
||||
if (!await isDbInitialized()) {
|
||||
log.info("DB not initialized, please visit setup page to initialize Trilium.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user