Skip to content

Scheduling infrastructure for absolutely everyone.

feat: custom-labels-for-attendee-location-fields (#25070)

Dhairyashil Shinded50a7b9d0072
diff --git a/packages/app-store/locations.ts b/packages/app-store/locations.ts
index 6e9240c6b42..503383a7231 100644
--- a/packages/app-store/locations.ts
+++ b/packages/app-store/locations.ts
@@ -116,6 +116,7 @@ export const defaultLocations: DefaultEventLocationType[] = [
iconUrl: "/map-pin-dark.svg",
category: "in person",
linkType: "static",
+ supportsCustomLabel: true,
},
{
default: true,
@@ -130,6 +131,7 @@ export const defaultLocations: DefaultEventLocationType[] = [
iconUrl: "/message-pin.svg",
category: "other",
linkType: "static",
+ supportsCustomLabel: true,
},
{
default: true,
@@ -312,7 +314,6 @@ export const privacyFilteredLocations = (locations: LocationObject[]): PrivacyFi
if (location.displayLocationPublicly || !eventLocationType) {
return location;
} else {
-
const { address: _1, link: _2, hostPhoneNumber: _3, ...privacyFilteredLocation } = location;
logger.debug("Applied Privacy Filter", location, privacyFilteredLocation);
return privacyFilteredLocation;