Skip to content

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

web: hide backup reminder on download backup

Abdullah Atta1671c99614a3
diff --git a/apps/web/src/common/reminders.js b/apps/web/src/common/reminders.js
index 5047c98ed..d8534f95b 100644
--- a/apps/web/src/common/reminders.js
+++ b/apps/web/src/common/reminders.js
@@ -188,7 +188,11 @@ async function saveBackup() {
},
{
text: "Download",
- onClick: () => createBackup(),
+ onClick: async () => {
+ await createBackup();
+ openedToast?.hide();
+ openedToast = null;
+ },
type: "primary"
}
],