chore: Remove partner signup link (#4843)

This commit is contained in:
Pranav Raj S 2022-06-13 11:27:22 +05:30 committed by GitHub
parent bc8e08f126
commit 98f2160462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 13 deletions

View file

@ -209,7 +209,6 @@
"LABEL": "API key", "LABEL": "API key",
"SUBTITLE": "Configure the WhatsApp API key.", "SUBTITLE": "Configure the WhatsApp API key.",
"PLACEHOLDER": "API key", "PLACEHOLDER": "API key",
"APPLY_FOR_ACCESS": "Don't have any API key? Apply for access here",
"ERROR": "Please enter a valid value." "ERROR": "Please enter a valid value."
}, },
"SUBMIT_BUTTON": "Create WhatsApp Channel", "SUBMIT_BUTTON": "Create WhatsApp Channel",

View file

@ -34,14 +34,6 @@
<label :class="{ error: $v.apiKey.$error }"> <label :class="{ error: $v.apiKey.$error }">
<span> <span>
{{ $t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.LABEL') }} {{ $t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.LABEL') }}
<a
v-if="globalConfig.installationName === 'Chatwoot'"
href="https://hub.360dialog.com/lp/whatsapp/L9dj7aPA"
target="_blank"
rel="noopener noreferrer nofollow"
>
({{ $t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.APPLY_FOR_ACCESS') }})
</a>
</span> </span>
<input <input
v-model.trim="apiKey" v-model.trim="apiKey"
@ -82,10 +74,7 @@ export default {
}; };
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({ uiFlags: 'inboxes/getUIFlags' }),
uiFlags: 'inboxes/getUIFlags',
globalConfig: 'globalConfig/get',
}),
}, },
validations: { validations: {
inboxName: { required }, inboxName: { required },