From cd89517e16b777a07265b9a4cea6d23debe88474 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 1 Apr 2023 12:23:14 +0500 Subject: [PATCH] web: run sync on re-enabling sync --- apps/web/src/stores/app-store.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js index 9cb308c2b..1b88884b6 100644 --- a/apps/web/src/stores/app-store.js +++ b/apps/web/src/stores/app-store.js @@ -177,6 +177,8 @@ class AppStore extends BaseStore { if (isSyncEnabled) { this.abortSync("disabled"); + } else { + this.sync(); } };