From 2c09969de86593c1a703aeb8419580ea68c57129 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Sun, 16 Mar 2025 13:48:57 +0100 Subject: [PATCH 1/9] feat: refs #8772 update TicketSummary to use VnLinkPhone for displaying phone numbers --- src/components/ui/VnLinkPhone.vue | 1 + src/components/ui/VnLv.vue | 2 +- src/pages/Ticket/Card/TicketSummary.vue | 20 ++++++++------------ 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/components/ui/VnLinkPhone.vue b/src/components/ui/VnLinkPhone.vue index a9e9bc0fc..4174e4ae6 100644 --- a/src/components/ui/VnLinkPhone.vue +++ b/src/components/ui/VnLinkPhone.vue @@ -57,4 +57,5 @@ function handleClick() { {{ capitalize(type).replace('-', '') }} + {{ phoneNumber }} diff --git a/src/components/ui/VnLv.vue b/src/components/ui/VnLv.vue index a198c9c05..6f7d42a89 100644 --- a/src/components/ui/VnLv.vue +++ b/src/components/ui/VnLv.vue @@ -42,7 +42,7 @@ const val = computed(() => $props.value); {{ label }} -
+
{{ dash ? dashIfEmpty(value) : value }} diff --git a/src/pages/Ticket/Card/TicketSummary.vue b/src/pages/Ticket/Card/TicketSummary.vue index a19ab3779..0b314d77a 100644 --- a/src/pages/Ticket/Card/TicketSummary.vue +++ b/src/pages/Ticket/Card/TicketSummary.vue @@ -219,27 +219,23 @@ onMounted(async () => { /> - -