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: don't show auto-backup notice again after dismissal Signed-off-by: 01zulfi <[email protected]>
01zulfi60107dd77f4c
diff --git a/apps/web/src/common/notices.ts b/apps/web/src/common/notices.tsindex 0764dbd97..d1c13eb2b 100644--- a/apps/web/src/common/notices.ts+++ b/apps/web/src/common/notices.ts@@ -87,6 +87,8 @@ export async function scheduleFullBackups() {}export async function shouldAddAutoBackupsDisabledNotice() {+ if (isIgnored("autoBackupsOff")) return false;+const user = await db.user.getUser();if (!user) return false;