fix: removed reload button and code
This commit is contained in:
parent
332bffdf9f
commit
5ad95460e5
@ -36,15 +36,6 @@
|
||||
<span>{{ __('New Task') }}</span>
|
||||
</Button>
|
||||
<div class="flex gap-2" v-else-if="title == 'WhatsApp'">
|
||||
<Button
|
||||
:label="__('Refresh')"
|
||||
@click="whatsappMessages.reload()"
|
||||
:loading="whatsappMessages.loading"
|
||||
>
|
||||
<template #icon>
|
||||
<RefreshIcon class="h-4 w-4" />
|
||||
</template>
|
||||
</Button>
|
||||
<Button
|
||||
:label="__('Send Template')"
|
||||
@click="showWhatsappTemplates = true"
|
||||
@ -981,9 +972,6 @@ function sendTemplate(template) {
|
||||
template,
|
||||
},
|
||||
auto: true,
|
||||
onSuccess() {
|
||||
whatsappMessages.reload()
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -123,7 +123,6 @@ async function sendWhatsAppMessage() {
|
||||
url: 'crm.api.whatsapp.create_whatsapp_message',
|
||||
params: args,
|
||||
auto: true,
|
||||
onSuccess: () => nextTick(() => whatsapp.value?.reload()),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user