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>
|
<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">
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user