diff --git a/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx b/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx
index b842406..05369a6 100644
--- a/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx
+++ b/apps/web/src/features/attendee-detail/AttendeeContactSection.tsx
@@ -1,10 +1,11 @@
-import { useEffect, useState } from 'react'
+import { type ReactNode, useEffect, useState } from 'react'
import { Mail, Phone } from 'lucide-react'
import { ApiError } from '../../lib/api'
import { formatPhoneDisplay } from '../../lib/format'
import { cn } from '../../lib/utils'
import { AttendeeContactForm } from './AttendeeContactForm'
import { contactEmailError } from './detail'
+import { PhoneRowActions } from './PhoneRowActions'
import { Section } from './Section'
import { useAttendeeDetail } from './AttendeeDetailProvider'
import { useTranslation } from 'react-i18next'
@@ -99,8 +100,12 @@ export function AttendeeContactSection() {
icon={Phone}
label={t('contact.phone')}
value={formatPhoneDisplay(attendee.phone) ?? t('contact.addPhone')}
- href={attendee.phone ? `tel:${attendee.phone.replace(/\D/g, '')}` : undefined}
placeholder={!attendee.phone}
+ actions={
+ attendee.phone ? (
+
+ ) : undefined
+ }
/>
@@ -133,11 +140,12 @@ export function ContactRow({ icon: Icon, label, value, href, placeholder }: Cont
{value}
+ {actions}
>
)
const className = 'flex min-h-14 items-center gap-3 rounded-lg px-3 py-2'
- return href ? (
+ return href && !actions ? (
{content}
diff --git a/apps/web/src/features/attendee-detail/GuardianSection.tsx b/apps/web/src/features/attendee-detail/GuardianSection.tsx
index 80c1269..883ed65 100644
--- a/apps/web/src/features/attendee-detail/GuardianSection.tsx
+++ b/apps/web/src/features/attendee-detail/GuardianSection.tsx
@@ -7,6 +7,7 @@ import { formatPhoneDisplay } from '../../lib/format'
import { ContactRow } from './AttendeeContactSection'
import { useAttendeeDetail } from './AttendeeDetailProvider'
import { contactEmailError } from './detail'
+import { PhoneRowActions } from './PhoneRowActions'
import { Section } from './Section'
/* El adulto a cargo de un chico: es una persona propia (compartida entre
@@ -123,8 +124,15 @@ export function GuardianSection() {
icon={Phone}
label={t('contact.phone')}
value={formatPhoneDisplay(attendee.guardianPhone) ?? t('contact.addPhone')}
- href={attendee.guardianPhone ? `tel:${attendee.guardianPhone.replace(/\D/g, '')}` : undefined}
placeholder={!attendee.guardianPhone}
+ actions={
+ attendee.guardianPhone ? (
+
+ ) : undefined
+ }
/>
+
+
+
+
+
+
+
+ )
+}