chore: Display email channel configuration while editing (#2896)

This commit is contained in:
Aswin Dev P.S
2021-08-27 19:15:54 +05:30
committed by GitHub
parent 78646b44b8
commit 9a8cbee470
2 changed files with 14 additions and 2 deletions

View File

@@ -273,7 +273,9 @@
"INBOX_UPDATE_SUB_TEXT": "Update your inbox settings",
"AUTO_ASSIGNMENT_SUB_TEXT": "Enable or disable the automatic assignment of new conversations to the agents added to this inbox.",
"HMAC_VERIFICATION": "User Identity Validation",
"HMAC_DESCRIPTION": "Inorder to validate the user's identity, the SDK allows you to pass an `identifier_hash` for each user. You can generate HMAC using 'sha256' with the key shown here."
"HMAC_DESCRIPTION": "Inorder to validate the user's identity, the SDK allows you to pass an `identifier_hash` for each user. You can generate HMAC using 'sha256' with the key shown here.",
"FORWARD_EMAIL_TITLE": "Forward to Email",
"FORWARD_EMAIL_SUB_TEXT": "Start forwarding your emails to the following email address."
},
"FACEBOOK_REAUTHORIZE": {
"TITLE": "Reauthorize",

View File

@@ -279,6 +279,16 @@
</settings-section>
</div>
</div>
<div v-else-if="isAnEmailChannel">
<div class="settings--content">
<settings-section
:title="$t('INBOX_MGMT.SETTINGS_POPUP.FORWARD_EMAIL_TITLE')"
:sub-title="$t('INBOX_MGMT.SETTINGS_POPUP.FORWARD_EMAIL_SUB_TEXT')"
>
<woot-code :script="inbox.forward_to_email"></woot-code>
</settings-section>
</div>
</div>
</div>
<div v-if="selectedTabKey === 'preChatForm'">
<pre-chat-form-settings :inbox="inbox" />
@@ -378,7 +388,7 @@ export default {
];
}
if (this.isATwilioChannel) {
if (this.isATwilioChannel || this.isAnEmailChannel) {
return [
...visibleToAllChannelTabs,
{