feat: Update inbox settings, change order of contact panel attributes

This commit is contained in:
Pranav Raj S 2021-07-28 21:42:59 +05:30
parent 8f30abb98b
commit 48daf42bd1
2 changed files with 8 additions and 5 deletions

View file

@ -4,6 +4,10 @@
<i class="ion-chevron-right" />
</span>
<contact-info :contact="contact" :channel-type="channelType" />
<contact-custom-attributes
v-if="hasContactAttributes"
:custom-attributes="contact.custom_attributes"
/>
<div class="conversation--actions">
<div class="multiselect-wrap--small">
<contact-details-item
@ -116,10 +120,6 @@
emoji="🕰"
/>
</div>
<contact-custom-attributes
v-if="hasContactAttributes"
:custom-attributes="contact.custom_attributes"
/>
<contact-conversations
v-if="contact.id"
:contact-id="contact.id"

View file

@ -115,7 +115,7 @@
"
/>
<label class="medium-9 columns">
<label v-if="isAWebWidgetInbox" class="medium-9 columns">
{{ $t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.REPLY_TIME.TITLE') }}
<select v-model="replyTime">
<option key="in_a_few_minutes" value="in_a_few_minutes">
@ -423,6 +423,9 @@ export default {
if (this.isATwilioSMSChannel || this.isATwilioWhatsappChannel) {
return `${this.inbox.name} (${this.inbox.phone_number})`;
}
if (this.isAnEmailChannel) {
return `${this.inbox.name} (${this.inbox.forward_to_email})`;
}
return this.inbox.name;
},
messengerScript() {