chore: Remove duplicate webhook section in twilio sms finish page (#12398)
**Before** <img width="899" height="826" alt="CleanShot 2025-09-09 at 15 34 24" src="https://github.com/user-attachments/assets/5ee82eb0-5ae9-4b5e-8659-1ac728692743" /> **After** <img width="902" height="723" alt="CleanShot 2025-09-09 at 15 34 00" src="https://github.com/user-attachments/assets/b460a2c4-ce28-4f25-9c93-1b2939e29ef1" />
This commit is contained in:
@@ -34,6 +34,7 @@ const {
|
|||||||
isAWhatsAppChannel,
|
isAWhatsAppChannel,
|
||||||
isAFacebookInbox,
|
isAFacebookInbox,
|
||||||
isATelegramChannel,
|
isATelegramChannel,
|
||||||
|
isATwilioWhatsAppChannel,
|
||||||
} = useInbox(route.params.inbox_id);
|
} = useInbox(route.params.inbox_id);
|
||||||
|
|
||||||
const hasDuplicateInstagramInbox = computed(() => {
|
const hasDuplicateInstagramInbox = computed(() => {
|
||||||
@@ -168,7 +169,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="w-full h-full col-span-6 p-6 overflow-auto">
|
<div class="overflow-auto col-span-6 p-6 w-full h-full">
|
||||||
<DuplicateInboxBanner
|
<DuplicateInboxBanner
|
||||||
v-if="hasDuplicateInstagramInbox"
|
v-if="hasDuplicateInstagramInbox"
|
||||||
:content="$t('INBOX_MGMT.ADD.INSTAGRAM.NEW_INBOX_SUGGESTION')"
|
:content="$t('INBOX_MGMT.ADD.INSTAGRAM.NEW_INBOX_SUGGESTION')"
|
||||||
@@ -187,7 +188,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="w-[50%] max-w-[50%] ml-[25%]">
|
<div class="w-[50%] max-w-[50%] ml-[25%]">
|
||||||
<woot-code
|
<woot-code
|
||||||
v-if="isATwilioChannel"
|
v-if="isATwilioWhatsAppChannel"
|
||||||
lang="html"
|
lang="html"
|
||||||
:script="currentInbox.callback_webhook_url"
|
:script="currentInbox.callback_webhook_url"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user