mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
Merge remote-tracking branch 'origin/optimize-tree'
This commit is contained in:
@@ -651,7 +651,7 @@ class ConsistencyChecks {
|
||||
// root branch should always be expanded
|
||||
sql.execute("UPDATE branches SET isExpanded = 1 WHERE branchId = 'root'");
|
||||
|
||||
if (this.unrecoveredConsistencyErrors) {
|
||||
if (!this.unrecoveredConsistencyErrors) {
|
||||
// we run this only if basic checks passed since this assumes basic data consistency
|
||||
|
||||
this.checkTreeCycles();
|
||||
|
||||
Reference in New Issue
Block a user