Social: Fix list when some post has no receivers

pull/4161/head
Angel Fernando Quiroz Campos 3 years ago
parent 8bf2dd17d3
commit f42b707c9b
  1. 4
      assets/vue/components/socialnetwork/Post.vue

@ -12,7 +12,9 @@
</q-item-section>
<q-item-section>
<q-item-label v-if="message.sender['@id'] === message.firstReceiver.receiver['@id']">
<q-item-label
v-if="!message.firstReceiver || (message.firstReceiver && message.sender['@id'] === message.firstReceiver.receiver['@id'])"
>
<router-link :to="{ name: 'SocialNetworkWall', query: { id: message.sender['@id']} }">
{{ message.sender.username }}
</router-link>

Loading…
Cancel
Save