Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

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.ts
index 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;