update step four content in case of embedded signup
This commit is contained in:
@@ -269,6 +269,7 @@
|
||||
"API_CALLBACK": {
|
||||
"TITLE": "Callback URL",
|
||||
"SUBTITLE": "You have to configure the webhook URL and the verification token in the Facebook Developer portal with the values shown below.",
|
||||
"SUBTITLE_EMBEDDED": "We have configured the webhook URL and the verification token in the Facebook Developer portal with the values shown below.",
|
||||
"WEBHOOK_URL": "Webhook URL",
|
||||
"WEBHOOK_VERIFICATION_TOKEN": "Webhook Verification Token"
|
||||
},
|
||||
|
||||
@@ -67,9 +67,14 @@ export default {
|
||||
}
|
||||
|
||||
if (this.isWhatsAppCloudInbox) {
|
||||
return `${this.$t('INBOX_MGMT.FINISH.MESSAGE')}. ${this.$t(
|
||||
'INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.SUBTITLE'
|
||||
)}`;
|
||||
const isEmbeddedSignup =
|
||||
this.currentInbox.provider_config?.source === 'embedded_signup';
|
||||
|
||||
const subtitleKey = isEmbeddedSignup
|
||||
? 'INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.SUBTITLE_EMBEDDED'
|
||||
: 'INBOX_MGMT.ADD.WHATSAPP.API_CALLBACK.SUBTITLE';
|
||||
|
||||
return `${this.$t('INBOX_MGMT.FINISH.MESSAGE')}. ${this.$t(subtitleKey)}`;
|
||||
}
|
||||
|
||||
if (this.isAEmailInbox && !this.currentInbox.provider) {
|
||||
|
||||
Reference in New Issue
Block a user