feat: Show the sender email address (#3974)
This commit is contained in:
parent
25001689ec
commit
74d9203868
2 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
||||||
class="message__mail-head"
|
class="message__mail-head"
|
||||||
:class="{ 'is-incoming': isIncoming }"
|
:class="{ 'is-incoming': isIncoming }"
|
||||||
>
|
>
|
||||||
|
<div v-if="fromMail" class="meta-wrap">
|
||||||
|
<span class="message__content--type">{{ $t('EMAIL_HEADER.FROM') }}:</span>
|
||||||
|
<span>{{ fromMail }}</span>
|
||||||
|
</div>
|
||||||
<div v-if="toMails" class="meta-wrap">
|
<div v-if="toMails" class="meta-wrap">
|
||||||
<span class="message__content--type">{{ $t('EMAIL_HEADER.TO') }}:</span>
|
<span class="message__content--type">{{ $t('EMAIL_HEADER.TO') }}:</span>
|
||||||
<span>{{ toMails }}</span>
|
<span>{{ toMails }}</span>
|
||||||
|
@ -46,6 +50,10 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
fromMail() {
|
||||||
|
const from = this.emailAttributes.from;
|
||||||
|
return from.join(', ');
|
||||||
|
},
|
||||||
toMails() {
|
toMails() {
|
||||||
const to = this.emailAttributes.to || [];
|
const to = this.emailAttributes.to || [];
|
||||||
return to.join(', ');
|
return to.join(', ');
|
||||||
|
|
|
@ -184,6 +184,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"EMAIL_HEADER": {
|
"EMAIL_HEADER": {
|
||||||
|
"FROM": "From",
|
||||||
"TO": "To",
|
"TO": "To",
|
||||||
"BCC": "Bcc",
|
"BCC": "Bcc",
|
||||||
"CC": "Cc",
|
"CC": "Cc",
|
||||||
|
|
Loading…
Reference in a new issue