1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-03-19 21:28:07 +02:00

UI: Display unknown recipients as as Undisclosed recipients

This commit is contained in:
Ralph Slooten 2022-09-03 00:37:24 +12:00
parent 9501b460c5
commit 3c81e152e6
2 changed files with 3 additions and 2 deletions
server/ui-src

@ -270,7 +270,7 @@ export default {
return message.To[i].Address;
}
return '[ Unknown ]';
return '[ Undisclosed recipients ]';
},
getRelativeCreated: function(message) {

@ -110,10 +110,11 @@ export default {
<tr class="small">
<th>To</th>
<td class="privacy">
<span v-for="(t, i) in message.To">
<span v-if="message.To" v-for="(t, i) in message.To">
<template v-if="i > 0">,</template>
{{ t.Name + " <" + t.Address +">" }}
</span>
<span v-else>Undisclosed recipients</span>
</td>
</tr>
<tr v-if="message.Cc" class="small">