diff --git a/app/javascript/dashboard/components-next/Calls/CallListItem.vue b/app/javascript/dashboard/components-next/Calls/CallListItem.vue index 8b0a56bfd..dd2b3af37 100644 --- a/app/javascript/dashboard/components-next/Calls/CallListItem.vue +++ b/app/javascript/dashboard/components-next/Calls/CallListItem.vue @@ -25,8 +25,11 @@ const route = useRoute(); const kind = computed(() => getCallKind(props.call)); -const contactName = computed( - () => props.call.contact.name || props.call.contact.phoneNumber +const contactName = computed(() => + (props.call.contact.name || props.call.contact.phoneNumber || '').replace( + /^\+/, + '' + ) ); const agentActionLabel = computed(() => { diff --git a/app/javascript/dashboard/routes/dashboard/calls/pages/CallsIndex.vue b/app/javascript/dashboard/routes/dashboard/calls/pages/CallsIndex.vue index 80f8e08c5..553cbceac 100644 --- a/app/javascript/dashboard/routes/dashboard/calls/pages/CallsIndex.vue +++ b/app/javascript/dashboard/routes/dashboard/calls/pages/CallsIndex.vue @@ -1,5 +1,6 @@