diff --git a/app/javascript/dashboard/components/widgets/conversation/bubble/MailHead.vue b/app/javascript/dashboard/components/widgets/conversation/bubble/MailHead.vue index 6293e86c8..43112a5c8 100644 --- a/app/javascript/dashboard/components/widgets/conversation/bubble/MailHead.vue +++ b/app/javascript/dashboard/components/widgets/conversation/bubble/MailHead.vue @@ -4,6 +4,10 @@ class="message__mail-head" :class="{ 'is-incoming': isIncoming }" > +
+ {{ $t('EMAIL_HEADER.FROM') }}: + {{ fromMail }} +
{{ $t('EMAIL_HEADER.TO') }}: {{ toMails }} @@ -46,6 +50,10 @@ export default { }, }, computed: { + fromMail() { + const from = this.emailAttributes.from; + return from.join(', '); + }, toMails() { const to = this.emailAttributes.to || []; return to.join(', '); diff --git a/app/javascript/dashboard/i18n/locale/en/conversation.json b/app/javascript/dashboard/i18n/locale/en/conversation.json index c545502ec..77a273ead 100644 --- a/app/javascript/dashboard/i18n/locale/en/conversation.json +++ b/app/javascript/dashboard/i18n/locale/en/conversation.json @@ -184,6 +184,7 @@ } }, "EMAIL_HEADER": { + "FROM": "From", "TO": "To", "BCC": "Bcc", "CC": "Cc",