A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: add log on when sync is ignored
Abdullah Atta89189d52ae57
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.jsindex 0d389e375..e3206af71 100644--- a/apps/web/src/stores/app-store.js+++ b/apps/web/src/stores/app-store.js@@ -279,8 +279,17 @@ class AppStore extends BaseStore {!this.get().isSyncEnabled ||!navigator.onLine ||!(await networkCheck.waitForInternet())- )+ ) {+ logger.info("Ignoring duplicate sync", {+ full,+ force,+ lastSynced,+ syncing: this.isSyncing(),+ syncDisabled: !this.get().isSyncEnabled,+ offline: !navigator.onLine+ });return;+ }clearTimeout(syncStatusTimeout);this.updateLastSynced();