Fix display of contacts on event view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
0abb9a13e5
commit
8b3278b60f
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
class="bg-white rounded-lg shadow-md flex space-x-4 items-center"
|
||||
:class="{ 'flex-col p-4 sm:p-8 pb-10 w-80': !inline }"
|
||||
class="bg-white rounded-lg flex space-x-4 items-center"
|
||||
:class="{ 'flex-col p-4 shadow-md sm:p-8 pb-10 w-80': !inline }"
|
||||
>
|
||||
<div>
|
||||
<figure class="w-12 h-12" v-if="actor.avatar">
|
||||
|
@ -36,6 +36,7 @@
|
||||
>
|
||||
<router-link
|
||||
v-if="event.attributedTo"
|
||||
class="hover:underline"
|
||||
:to="{
|
||||
name: RouteName.GROUP,
|
||||
params: {
|
||||
@ -53,6 +54,7 @@
|
||||
</router-link>
|
||||
<actor-card v-else :actor="event.organizerActor" :inline="true" />
|
||||
<actor-card
|
||||
:inline="true"
|
||||
:actor="contact"
|
||||
v-for="contact in event.contacts"
|
||||
:key="contact.id"
|
||||
|
Loading…
Reference in New Issue
Block a user