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

This commit is contained in:
Omar López
2024-07-31 23:16:45 +03:00
committed by GitHub
parent 9ffa4b8477
commit ebab3b701d
2 changed files with 1 additions and 7 deletions
@@ -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>
</>
@@ -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,
},