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

@@ -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,
{