mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 13:22:08 +00:00
fix: deletion corner cases
This commit is contained in:
+9
@@ -87,6 +87,15 @@ export const CreateReminderForm = ({
|
||||
}
|
||||
}, [members, isOpen, recipients]);
|
||||
|
||||
useEffect(() => {
|
||||
if (repeatDays) {
|
||||
setValue("days", repeatDays);
|
||||
}
|
||||
if (note) {
|
||||
setValue("note", note);
|
||||
}
|
||||
}, [repeatDays, note]);
|
||||
|
||||
return (
|
||||
<Modal isOpen={isOpen} onOpenChange={onOpenChange}>
|
||||
<ModalContent
|
||||
|
||||
Reference in New Issue
Block a user