Skip to content

Commit

Permalink
Chore: Display "To" details in mobile messages list
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Dec 10, 2024
1 parent 16fbb72 commit 4c954e6
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions server/ui-src/components/ListMessages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,20 @@ export default {
<i class="bi bi-paperclip h6 me-1" v-if="message.Attachments"></i>
{{ getRelativeCreated(message) }}
</div>
<div class="text-truncate d-lg-none privacy">
<span v-if="message.From" :title="'From: ' + message.From.Address">
{{ message.From.Name ? message.From.Name : message.From.Address }}
</span>
<div v-if="message.From" class="overflow-x-hidden">
<div class="text-truncate privacy">
<b :title="'From: ' + message.From.Address">
{{ message.From.Name ? message.From.Name : message.From.Address }}
</b>
</div>
</div>
<div class="text-truncate d-none d-lg-block privacy">
<b v-if="message.From" :title="'From: ' + message.From.Address">
{{ message.From.Name ? message.From.Name : message.From.Address }}
</b>
</div>
<div class="d-none d-lg-block text-truncate text-muted small privacy">
To: {{ getPrimaryEmailTo(message) }}
<span v-if="message.To && message.To.length > 1">
[+{{ message.To.length - 1 }}]
</span>
<div class="overflow-x-hidden">
<div class="text-truncate text-muted small privacy">
To: {{ getPrimaryEmailTo(message) }}
<span v-if="message.To && message.To.length > 1">
[+{{ message.To.length - 1 }}]
</span>
</div>
</div>
</div>
<div class="col-lg-6 col-xxl-7 mt-2 mt-lg-0">
Expand Down

0 comments on commit 4c954e6

Please sign in to comment.