diff --git a/src/components/ui/VnLinkPhone.vue b/src/components/ui/VnLinkPhone.vue index 51694b8eb..11339859e 100644 --- a/src/components/ui/VnLinkPhone.vue +++ b/src/components/ui/VnLinkPhone.vue @@ -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 = (