fix: email notification preferences (#4656)
This commit is contained in:
parent
4d9cd0c318
commit
3cbc1dcf10
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue