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