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 check for notification permission in tests
Abdullah Atta565ef2c3210f
diff --git a/apps/web/src/dialogs/add-reminder-dialog.tsx b/apps/web/src/dialogs/add-reminder-dialog.tsxindex 04ddfd74b..04d46e510 100644--- a/apps/web/src/dialogs/add-reminder-dialog.tsx+++ b/apps/web/src/dialogs/add-reminder-dialog.tsx@@ -168,7 +168,7 @@ export default function AddReminderDialog(props: AddReminderDialogProps) {);const permissionResult = await Notification.requestPermission();- if (permissionResult !== "granted") {+ if (!IS_TESTING && permissionResult !== "granted") {showToast("error","Please grant notifications permission to add new reminders."