mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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 } }) => (
|
||||
<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…
Reference in New Issue
Block a user