Skip to content

Commit 3de9c2b

Browse files
authored
fix: uncheck requires Confirmation For FreeEmail (#22486)
1 parent cee30c5 commit 3de9c2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ export default function RequiresConfirmationController({
104104
LockedIcon={requiresConfirmationLockedProps.LockedIcon}
105105
onCheckedChange={(val) => {
106106
formMethods.setValue("requiresConfirmation", val, { shouldDirty: true });
107-
// If we uncheck requires confirmation, we also uncheck the "will block slot" checkbox
107+
// If we uncheck requires confirmation, we also uncheck these checkboxes
108108
if (!val) {
109109
formMethods.setValue("requiresConfirmationWillBlockSlot", false, { shouldDirty: true });
110+
formMethods.setValue("requiresConfirmationForFreeEmail", false, { shouldDirty: true });
110111
}
111112
onRequiresConfirmation(val);
112113
}}>

0 commit comments

Comments
 (0)