8144-devToTest_2448 #963

Merged
alexm merged 347 commits from 8144-devToTest_2448 into test 2024-11-19 07:54:42 +00:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 83be57a0c4 - Show all commits

View File

@ -9,7 +9,7 @@ const props = defineProps({
const config = reactive({
sip: { icon: 'phone', href: `sip:${props.phoneNumber}` },
'say-simple': {
icon: 'help', // 'whatsapp icon #6818',
icon: 'help',
href: null,
channel: props.channel,
},
@ -20,8 +20,7 @@ onBeforeMount(async () => {
let url;
let { channel } = config[type];
if (type === 'sip') return;
else if (type === 'say-simple') {
if (type === 'say-simple') {
url = (await axios.get('SaySimpleConfigs/findOne')).data.url;
if (!channel)
channel = (