From 3cbc1dcf1045ef292aa4fba5b7fe27019d4a9fb9 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 31 May 2024 12:18:57 +0530 Subject: [PATCH] fix: email notification preferences (#4656) --- .../profile/preferences/email-notification-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/profile/preferences/email-notification-form.tsx b/web/components/profile/preferences/email-notification-form.tsx index b893ef512..6f669a042 100644 --- a/web/components/profile/preferences/email-notification-form.tsx +++ b/web/components/profile/preferences/email-notification-form.tsx @@ -99,9 +99,9 @@ export const EmailNotificationForm: FC = (props) => render={({ field: { value, onChange } }) => ( { - setValue("issue_completed", !value); + setValue("issue_completed", !value, { shouldDirty: true }); onChange(!value); }} className="mx-2"