fix: Show webhook url only on WhatsApp inbox (#5618)

This commit is contained in:
Pranav Raj S 2022-10-12 21:45:28 -07:00 committed by GitHub
parent ee520bdf98
commit d2fd05ee4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,15 +19,11 @@
:script="currentInbox.callback_webhook_url" :script="currentInbox.callback_webhook_url"
/> />
</div> </div>
<div class="medium-6 small-offset-3"> <div v-if="isWhatsAppCloudInbox" class="medium-6 small-offset-3">
<p class="config--label"> <p class="config--label">
{{ $t('INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.WEBHOOK_URL') }} {{ $t('INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.WEBHOOK_URL') }}
</p> </p>
<woot-code <woot-code lang="html" :script="currentInbox.callback_webhook_url" />
v-if="isWhatsAppCloudInbox"
lang="html"
:script="currentInbox.callback_webhook_url"
/>
<p class="config--label"> <p class="config--label">
{{ {{
$t( $t(
@ -36,7 +32,6 @@
}} }}
</p> </p>
<woot-code <woot-code
v-if="isWhatsAppCloudInbox"
lang="html" lang="html"
:script="currentInbox.provider_config.webhook_verify_token" :script="currentInbox.provider_config.webhook_verify_token"
/> />