From 5b9b7ab22dac72cc93949f0eb4de4f71d92175ac Mon Sep 17 00:00:00 2001 From: "GitStart-Cal.com" <121884634+gitstart-calcom@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:51:20 +0200 Subject: [PATCH] [CAL-1530] Assigned members to managed event types missing preview URL (#8552) Co-authored-by: gitstart-calcom --- apps/web/pages/event-types/[type]/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/web/pages/event-types/[type]/index.tsx b/apps/web/pages/event-types/[type]/index.tsx index c40404e61d..6786481aed 100644 --- a/apps/web/pages/event-types/[type]/index.tsx +++ b/apps/web/pages/event-types/[type]/index.tsx @@ -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,