Skip to content

Commit d50a7b9

Browse files
feat: custom-labels-for-attendee-location-fields (calcom#25070)
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
1 parent 452729f commit d50a7b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/app-store/locations.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export const defaultLocations: DefaultEventLocationType[] = [
116116
iconUrl: "/map-pin-dark.svg",
117117
category: "in person",
118118
linkType: "static",
119+
supportsCustomLabel: true,
119120
},
120121
{
121122
default: true,
@@ -130,6 +131,7 @@ export const defaultLocations: DefaultEventLocationType[] = [
130131
iconUrl: "/message-pin.svg",
131132
category: "other",
132133
linkType: "static",
134+
supportsCustomLabel: true,
133135
},
134136
{
135137
default: true,
@@ -312,7 +314,6 @@ export const privacyFilteredLocations = (locations: LocationObject[]): PrivacyFi
312314
if (location.displayLocationPublicly || !eventLocationType) {
313315
return location;
314316
} else {
315-
316317
const { address: _1, link: _2, hostPhoneNumber: _3, ...privacyFilteredLocation } = location;
317318
logger.debug("Applied Privacy Filter", location, privacyFilteredLocation);
318319
return privacyFilteredLocation;

0 commit comments

Comments
 (0)