feat: refs #6818 saysimple integration #904
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#904
Loading…
Reference in New Issue
No description provided.
Delete Branch "6818-saySimpleIntegration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -3,0 +9,4 @@
const config = reactive({
sip: { icon: 'phone', href: `sip:${props.phoneNumber}` },
'say-simple': {
icon: 'help', // 'whatsapp',
quitar comentario?
Lo quiero dejar porque está pendiente. Cuando Paco rico lo pase lo añadiré pero de momento pongo ese. Le añado el número de tarea
@ -3,0 +20,4 @@
let channel = props.channel;
if (type === 'say-simple')
url = (await axios.get('SaySimpleConfigs/findOne')).data.url;
if (!props.channel)
Y si el tipo no es say-simple igualmente le pone el canal?
@ -3,0 +21,4 @@
let { channel } = config[type];
if (type === 'sip') return;
else if (type === 'say-simple') {
es lo mismo que poner if (type === 'say-simple') directamente jaja
Tiene usted razón