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: make sure object is not null
thecodrr56f050ab27d8
diff --git a/packages/core/api/sync/utils.js b/packages/core/api/sync/utils.jsindex deab1087e..36b231612 100644--- a/packages/core/api/sync/utils.js+++ b/packages/core/api/sync/utils.js@@ -1,5 +1,5 @@function areAllEmpty(obj) {- const arrays = Object.values(obj).filter((v) => v.length !== undefined);+ const arrays = Object.values(obj).filter((v) => v && v.length !== undefined);return arrays.every((array) => array.length === 0);}