Fix display of contacts on event view

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-04-06 18:16:14 +02:00
parent 0abb9a13e5
commit 8b3278b60f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div <div
class="bg-white rounded-lg shadow-md flex space-x-4 items-center" class="bg-white rounded-lg flex space-x-4 items-center"
:class="{ 'flex-col p-4 sm:p-8 pb-10 w-80': !inline }" :class="{ 'flex-col p-4 shadow-md sm:p-8 pb-10 w-80': !inline }"
> >
<div> <div>
<figure class="w-12 h-12" v-if="actor.avatar"> <figure class="w-12 h-12" v-if="actor.avatar">

View File

@ -36,6 +36,7 @@
> >
<router-link <router-link
v-if="event.attributedTo" v-if="event.attributedTo"
class="hover:underline"
:to="{ :to="{
name: RouteName.GROUP, name: RouteName.GROUP,
params: { params: {
@ -53,6 +54,7 @@
</router-link> </router-link>
<actor-card v-else :actor="event.organizerActor" :inline="true" /> <actor-card v-else :actor="event.organizerActor" :inline="true" />
<actor-card <actor-card
:inline="true"
:actor="contact" :actor="contact"
v-for="contact in event.contacts" v-for="contact in event.contacts"
:key="contact.id" :key="contact.id"