fix select defaut value

This commit is contained in:
2020-09-12 08:52:20 +02:00
parent e91671a78f
commit 68cbc950f5
9 changed files with 41 additions and 33 deletions

View File

@@ -19,13 +19,15 @@
<div v-else class="box">
<div class="flex justify-between flex-wrap">
<h1 class="text-xl text-marine">{{ event.data.attributes.data.name }}</h1>
<h2 class="text-sm text-marine">{{ event.data.attributes.data.location }}</h2>
</div>
<div v-if="event.data.attributes.data.description">{{ event.data.attributes.data.description }}</div>
<div class="flex justify-between">
<span class="mt-auto self-end bg-gray-400 text-white tag">{{ event.data.attributes.data.category.data.attributes.data.name }}</span>
<span class="mt-auto self-end bg-gray-400 text-white tag">{{ event.data.attributes.data.start_date }}</span>
</div>
<h2 class="text-lg text-marine">{{ event.data.attributes.data.location }}</h2>
<div v-if="event.data.attributes.data.description">{{ event.data.attributes.data.description }}</div>
<div class="flex justify-end">
<div>
<span class="mt-auto self-end bg-gray-400 text-white tag">{{ event.data.attributes.data.start_date }}</span>
<span v-if="event.data.attributes.data.end_date" class="mt-auto self-end bg-gray-400 text-white tag">{{ event.data.attributes.data.end_date }}</span>
</div>
</div>
</div>
</div>