Display: Fix show page when message has no tags - refs BT#21705

pull/5585/head
Angel Fernando Quiroz Campos 6 months ago
parent 6da649781b
commit 1025d1d020
  1. 4
      assets/css/scss/_messages.scss
  2. 21
      assets/vue/views/message/MessageShow.vue

@ -9,6 +9,10 @@
@apply flex justify-end gap-2 items-center;
}
&__tags {
@apply flex gap-2;
}
&__tag-searcher.field {
@apply mb-0;
}

@ -33,14 +33,19 @@
</SectionHeader>
<div class="message-show__tags-container">
<BaseChip
v-for="tag in myReceiver.tags"
:key="tag['@id']"
:value="tag"
is-removable
label-field="tag"
@remove="onRemoveTagFromMessage(tag)"
/>
<div
v-if="myReceiver"
class="message-show__tags"
>
<BaseChip
v-for="tag in myReceiver.tags"
:key="tag['@id']"
:value="tag"
is-removable
label-field="tag"
@remove="onRemoveTagFromMessage(tag)"
/>
</div>
<BaseAutocomplete
v-if="item.sender && item.sender['@id'] !== securityStore.user['@id']"

Loading…
Cancel
Save