Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: email notification preferences (#4656)

Anmol Singh Bhatia3cbc1dcf1045
diff --git a/web/components/profile/preferences/email-notification-form.tsx b/web/components/profile/preferences/email-notification-form.tsx
index b893ef5124..6f669a042c 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<IEmailNotificationFormProps> = (props) =>
render={({ field: { value, onChange } }) => (
<Checkbox
checked={value}
- intermediate={!value && watch("issue_completed")}
+ indeterminate={!value && watch("issue_completed")}
onChange={() => {
- setValue("issue_completed", !value);
+ setValue("issue_completed", !value, { shouldDirty: true });
onChange(!value);
}}
className="mx-2"