chore: Fix facebook inbox create button (#11237)
**Before**  **After** 
This commit is contained in:
@@ -43,7 +43,8 @@
|
|||||||
"INBOX_NAME": "Inbox Name",
|
"INBOX_NAME": "Inbox Name",
|
||||||
"ADD_NAME": "Add a name for your inbox",
|
"ADD_NAME": "Add a name for your inbox",
|
||||||
"PICK_NAME": "Pick a Name for your Inbox",
|
"PICK_NAME": "Pick a Name for your Inbox",
|
||||||
"PICK_A_VALUE": "Pick a value"
|
"PICK_A_VALUE": "Pick a value",
|
||||||
|
"CREATE_INBOX": "Create Inbox"
|
||||||
},
|
},
|
||||||
"INSTAGRAM": {
|
"INSTAGRAM": {
|
||||||
"CONTINUE_WITH_INSTAGRAM": "Continue with Instagram",
|
"CONTINUE_WITH_INSTAGRAM": "Continue with Instagram",
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import ChannelApi from '../../../../../api/channels';
|
|||||||
import PageHeader from '../../SettingsSubPageHeader.vue';
|
import PageHeader from '../../SettingsSubPageHeader.vue';
|
||||||
import router from '../../../../index';
|
import router from '../../../../index';
|
||||||
import globalConfigMixin from 'shared/mixins/globalConfigMixin';
|
import globalConfigMixin from 'shared/mixins/globalConfigMixin';
|
||||||
|
import NextButton from 'dashboard/components-next/button/Button.vue';
|
||||||
|
|
||||||
import { loadScript } from 'dashboard/helper/DOMHelpers';
|
import { loadScript } from 'dashboard/helper/DOMHelpers';
|
||||||
import * as Sentry from '@sentry/vue';
|
import * as Sentry from '@sentry/vue';
|
||||||
@@ -19,6 +20,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
LoadingState,
|
LoadingState,
|
||||||
PageHeader,
|
PageHeader,
|
||||||
|
NextButton,
|
||||||
},
|
},
|
||||||
mixins: [globalConfigMixin],
|
mixins: [globalConfigMixin],
|
||||||
setup() {
|
setup() {
|
||||||
@@ -207,7 +209,7 @@ export default {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="border border-n-weak bg-n-solid-1 rounded-t-lg border-b-0 h-full w-full p-6 col-span-6 overflow-auto"
|
class="w-full h-full col-span-6 p-6 overflow-auto border border-b-0 rounded-t-lg border-n-weak bg-n-solid-1"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="!hasLoginStarted"
|
v-if="!hasLoginStarted"
|
||||||
@@ -240,7 +242,7 @@ export default {
|
|||||||
<LoadingState v-else-if="showLoader" :message="emptyStateMessage" />
|
<LoadingState v-else-if="showLoader" :message="emptyStateMessage" />
|
||||||
<form
|
<form
|
||||||
v-else
|
v-else
|
||||||
class="flex flex-wrap flex-col mx-0"
|
class="flex flex-col flex-wrap mx-0"
|
||||||
@submit.prevent="createChannel()"
|
@submit.prevent="createChannel()"
|
||||||
>
|
>
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
@@ -291,7 +293,7 @@ export default {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full text-right">
|
<div class="w-full text-right">
|
||||||
<input type="submit" value="Create Inbox" class="button" />
|
<NextButton :label="$t('INBOX_MGMT.ADD.FB.CREATE_INBOX')" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user