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: handle case where updateUrl & cancelUrl is null
thecodrreb27d363ec12
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.cssindex a8dc4f653..e5e539644 100644--- a/apps/web/src/components/editor/editor.css+++ b/apps/web/src/components/editor/editor.css@@ -42,7 +42,7 @@color: var(--fontTertiary) !important;}-tox-tbtn tox-tbtn--select {+.tox-tbtn .tox-tbtn--select {border-radius: 5px !important;}diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.jsindex c1c96e5fc..2659448d4 100644--- a/apps/web/src/views/settings.js+++ b/apps/web/src/views/settings.js@@ -765,6 +765,11 @@ function AccountStatus(props) {<Buttonvariant="list"onClick={async () => {+ if (!user.subscription.updateURL)+ return showToast(+ "error",+ "Failed to update. Please reach out to us at [email protected] so we can help you resolve the issue."+ );await openPaddleDialog(user.subscription.updateURL);}}>@@ -777,6 +782,11 @@ function AccountStatus(props) {variant="list"sx={{ ":hover": { borderColor: "error" } }}onClick={async () => {+ if (!user.subscription.cancelURL)+ return showToast(+ "error",+ "Failed to cancel subscription. Please reach out to us at [email protected] so we can help you resolve the issue."+ );await openPaddleDialog(user.subscription.cancelURL);}}>