refs #6303 sms fix #101

Merged
pablone merged 6 commits from 6303-smsDialogFix into dev 2023-10-26 07:32:07 +00:00
2 changed files with 2 additions and 1 deletions

View File

@ -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: {

View File

@ -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,
pablone marked this conversation as resolved Outdated
Outdated
Review

Aço tambe podries ficar:
locale: client?.user?.lang ?? 'default_locale',

Aço tambe podries ficar: locale: client?.user?.lang ?? 'default_locale',
promise: sendSms,
},