[CAL-1530] Assigned members to managed event types missing preview URL (#8552)
Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
1 parent
668ea088ef
commit
5b9b7ab22d
1 file changed
+7
@@ -136,6 +136,13 @@ const EventTypePage = (props: EventTypeSetupProps) => {
|
||||
|
||||
const updateMutation = trpc.viewer.eventTypes.update.useMutation({
|
||||
onSuccess: async () => {
|
||||
formMethods.setValue(
|
||||
"children",
|
||||
formMethods.getValues().children.map((child) => ({
|
||||
...child,
|
||||
created: true,
|
||||
}))
|
||||
);
|
||||
showToast(
|
||||
t("event_type_updated_successfully", {
|
||||
eventTypeTitle: eventType.title,
|
||||
|
||||
Reference in new issue
Block a user