Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: set status as completed whenever sync completes

Abdullah Atta445494ce951f
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js
index 89f2212f0..81515b79c 100644
--- a/apps/web/src/stores/app-store.js
+++ b/apps/web/src/stores/app-store.js
@@ -298,7 +298,7 @@ class AppStore extends BaseStore {
const result = await db.sync(full, force);
if (!result) return this.updateSyncStatus("failed");
- else if (full) this.updateSyncStatus("completed", true);
+ this.updateSyncStatus("completed", true);
await this.updateLastSynced();
} catch (err) {