Skip to content

Commit

Permalink
fix: Show webhook url only on WhatsApp inbox (#5618)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavrajs committed Oct 13, 2022
1 parent ee520bd commit d2fd05e
Showing 1 changed file with 2 additions and 7 deletions.
Expand Up @@ -19,15 +19,11 @@
:script="currentInbox.callback_webhook_url"
/>
</div>
<div class="medium-6 small-offset-3">
<div v-if="isWhatsAppCloudInbox" class="medium-6 small-offset-3">
<p class="config--label">
{{ $t('INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.WEBHOOK_URL') }}
</p>
<woot-code
v-if="isWhatsAppCloudInbox"
lang="html"
:script="currentInbox.callback_webhook_url"
/>
<woot-code lang="html" :script="currentInbox.callback_webhook_url" />
<p class="config--label">
{{
$t(
Expand All @@ -36,7 +32,6 @@
}}
</p>
<woot-code
v-if="isWhatsAppCloudInbox"
lang="html"
:script="currentInbox.provider_config.webhook_verify_token"
/>
Expand Down

0 comments on commit d2fd05e

Please sign in to comment.