forked from verdnatura/salix-front
Reviewed-on: verdnatura/salix-front#101 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
53a86a2401
|
@ -8,6 +8,7 @@ import CardDescriptor from 'components/ui/CardDescriptor.vue';
|
|||
import TicketDescriptorMenu from './TicketDescriptorMenu.vue';
|
||||
import VnLv from 'src/components/ui/VnLv.vue';
|
||||
import useCardDescription from 'src/composables/useCardDescription';
|
||||
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
|
||||
|
||||
const $props = defineProps({
|
||||
id: {
|
||||
|
|
|
@ -87,7 +87,7 @@ function showSmsDialog(template, customData) {
|
|||
componentProps: {
|
||||
phone: phone,
|
||||
template: template,
|
||||
locale: client.user.lang,
|
||||
locale: client?.user?.lang ?? 'default_locale',
|
||||
data: data,
|
||||
promise: sendSms,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue