diff --git a/src/pages/Ticket/Card/TicketDescriptorMenu.vue b/src/pages/Ticket/Card/TicketDescriptorMenu.vue index 7177db593..95f6a94d9 100644 --- a/src/pages/Ticket/Card/TicketDescriptorMenu.vue +++ b/src/pages/Ticket/Card/TicketDescriptorMenu.vue @@ -64,7 +64,6 @@ async function sendDeliveryNote({ address, type, documentType }) { const shipped = toDate(ticket.value.shipped); function showSmsDialog(template, customData) { - console.log('Entra'); const address = ticket.value.address; const client = ticket.value.client; const phone = @@ -88,7 +87,7 @@ function showSmsDialog(template, customData) { componentProps: { phone: phone, template: template, - locale: client.user ? client.user.lang : 'default_locale', + locale: client?.user?.lang ?? 'default_locale', data: data, promise: sendSms, },