Skip to content

Scheduling infrastructure for absolutely everyone.

revert: "fix: meeting link is not updated and broken ui in edit location dialog" (#16011)

Omar Lópezebab3b701d2d
diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsx
index 989bd71ac7b..1c52f5d018c 100644
--- a/apps/web/components/dialog/EditLocationDialog.tsx
+++ b/apps/web/components/dialog/EditLocationDialog.tsx
@@ -261,7 +261,7 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
{booking && (
<>
<p className="text-emphasis mb-2 ml-1 mt-6 text-sm font-bold">{t("current_location")}:</p>
- <p className="text-emphasis mb-2 ml-1 break-all text-sm">
+ <p className="text-emphasis mb-2 ml-1 text-sm">
{getHumanReadableLocationValue(booking.location, t)}
</p>
</>
diff --git a/packages/trpc/server/routers/viewer/bookings/editLocation.handler.ts b/packages/trpc/server/routers/viewer/bookings/editLocation.handler.ts
index b7684b7f209..636f49a35f4 100644
--- a/packages/trpc/server/routers/viewer/bookings/editLocation.handler.ts
+++ b/packages/trpc/server/routers/viewer/bookings/editLocation.handler.ts
@@ -118,12 +118,6 @@ export const editLocationHandler = async ({ ctx, input }: EditLocationOptions) =
},
data: {
location,
- metadata: location.startsWith("http")
- ? {
- ...(typeof booking.metadata === "object" ? booking.metadata : {}),
- videoCallUrl: location,
- }
- : {},
references: {
create: updatedResult.referencesToCreate,
},