Various front-end fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-10-31 13:03:03 +01:00
parent ecb862f634
commit e0127afd2b
8 changed files with 32 additions and 21 deletions

View File

@@ -66,12 +66,18 @@
</div>
<div class="flex flex-wrap gap-4">
<div>
<h2>{{ t('Last published event')}}</h2>
<event-card v-if="dashboard?.lastPublicEventPublished" :event="dashboard?.lastPublicEventPublished" />
<h2>{{ t("Last published event") }}</h2>
<event-card
v-if="dashboard?.lastPublicEventPublished"
:event="dashboard?.lastPublicEventPublished"
/>
</div>
<div>
<h2>{{ t('Last group created')}}</h2>
<group-card v-if="dashboard?.lastGroupCreated" :group="dashboard?.lastGroupCreated" />
<h2>{{ t("Last group created") }}</h2>
<group-card
v-if="dashboard?.lastGroupCreated"
:group="dashboard?.lastGroupCreated"
/>
</div>
</div>
</section>