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: fix trial expired reminder dialog shown again and again
Abdullah Attae4428299bcaa
diff --git a/apps/web/src/dialogs/reminder-dialog.tsx b/apps/web/src/dialogs/reminder-dialog.tsxindex 0736b79ce..66b35c3de 100644--- a/apps/web/src/dialogs/reminder-dialog.tsx+++ b/apps/web/src/dialogs/reminder-dialog.tsx@@ -131,14 +131,17 @@ export const ReminderDialog = DialogManager.register(function ReminderDialog(testId="reminder-dialog"isOpen={true}title={reminder.title}- onClose={() => props.onClose(false)}+ onClose={() => {+ Config.set(reminderKey, true);+ props.onClose(false);+ }}showCloseButtondescription={reminder.description}positiveButton={{text: <Flex>{reminder.cta.title}</Flex>,onClick: async () => {if (reminder.cta.action) await reminder.cta.action();-+ Config.set(reminderKey, true);props.onClose(true);}}}