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: disable backup restoring for logged out users
thecodrr50505a883cb4
diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.jsindex f77aab1bb..e6cfa4b2c 100644--- a/apps/web/src/views/settings.js+++ b/apps/web/src/views/settings.js@@ -404,6 +404,11 @@ function Settings(props) {variant="list"onClick={async () => {try {+ if (!isLoggedIn)+ throw new Error(+ "You must be logged in to restore backups."+ );+const backupData = JSON.stringify(await importBackup());const error = await showLoadingDialog({title: "Restoring backup",