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
fix: resolve if device synced
thecodrrd2e6cffa5543
diff --git a/packages/core/api/sync/index.js b/packages/core/api/sync/index.jsindex cf7cc1c63..84f62be03 100644--- a/packages/core/api/sync/index.js+++ b/packages/core/api/sync/index.js@@ -161,7 +161,11 @@ class Sync {this.connection.stream("FetchItems", lastSynced).subscribe({next: (/** @type {SyncTransferItem} */ syncStatus) => {const { total, item, synced, lastSynced } = syncStatus;- if (synced || !item) return;+ if (synced) {+ resolve({ synced, lastSynced });+ return;+ }+ if (!item) return;++counter.count;++counter.queue;