mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
small refactorings and fixes
This commit is contained in:
@@ -21,8 +21,8 @@ function setupPage(req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
// we got here because DB is not completely initialized so if schema exists
|
||||
// it means we're in sync in progress state.
|
||||
// we got here because DB is not completely initialized, so if schema exists,
|
||||
// it means we're in "sync in progress" state.
|
||||
const syncInProgress = sqlInit.schemaExists();
|
||||
|
||||
if (syncInProgress) {
|
||||
|
||||
Reference in New Issue
Block a user