mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: update sync status on auto sync completion
This commit is contained in:
@@ -123,9 +123,7 @@ class AppStore extends BaseStore {
|
||||
});
|
||||
|
||||
db.eventManager.subscribe(EVENTS.syncCompleted, () => {
|
||||
this.set((state) => {
|
||||
state.syncStatus = { key: "synced" };
|
||||
});
|
||||
this.updateSyncStatus("synced", false);
|
||||
count = 0;
|
||||
this.refresh();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user