Skip to content

Commit 8d4382b

Browse files
anmolsinghbhatiasriramveeraghanta
authored andcommitted
fix: email notification preferences (#4656)
1 parent 2e7823e commit 8d4382b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/components/profile/preferences/email-notification-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export const EmailNotificationForm: FC<IEmailNotificationFormProps> = (props) =>
9999
render={({ field: { value, onChange } }) => (
100100
<Checkbox
101101
checked={value}
102-
intermediate={!value && watch("issue_completed")}
102+
indeterminate={!value && watch("issue_completed")}
103103
onChange={() => {
104-
setValue("issue_completed", !value);
104+
setValue("issue_completed", !value, { shouldDirty: true });
105105
onChange(!value);
106106
}}
107107
className="mx-2"

0 commit comments

Comments
 (0)