forked from github/plane
fix: email notification preferences (#4656)
This commit is contained in:
parent
4d9cd0c318
commit
3cbc1dcf10
@ -99,9 +99,9 @@ export const EmailNotificationForm: FC<IEmailNotificationFormProps> = (props) =>
|
|||||||
render={({ field: { value, onChange } }) => (
|
render={({ field: { value, onChange } }) => (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
checked={value}
|
checked={value}
|
||||||
intermediate={!value && watch("issue_completed")}
|
indeterminate={!value && watch("issue_completed")}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
setValue("issue_completed", !value);
|
setValue("issue_completed", !value, { shouldDirty: true });
|
||||||
onChange(!value);
|
onChange(!value);
|
||||||
}}
|
}}
|
||||||
className="mx-2"
|
className="mx-2"
|
||||||
|
Loading…
Reference in New Issue
Block a user