From c8dc5207b491983af8bac1fcfdfee5a2d7985837 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 8 Sep 2022 18:30:49 +0500 Subject: [PATCH] core: fix auto sync does not send sync complete event --- packages/core/api/sync/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/api/sync/index.js b/packages/core/api/sync/index.js index ebdf50d84..496f03256 100644 --- a/packages/core/api/sync/index.js +++ b/packages/core/api/sync/index.js @@ -372,7 +372,7 @@ class Sync { // refresh monographs on sync completed await this.db.monographs.init(); // refresh topic references - this.db.notes.topicReferences.refresh(); + this.db.notes.topicReferences.rebuild(); await this.start(false, false, lastSynced); }