fix(admin): Restore visibility of the last published event

- Don't expect event.options to be always here in EventCard
- Add event.options in Dashboard graphql query

Solves #1663
This commit is contained in:
Massedil
2025-02-07 15:34:27 +01:00
parent fbcca23057
commit e4cf73b9a7
2 changed files with 7 additions and 2 deletions

View File

@@ -79,9 +79,9 @@
>
<start-time-icon
:small="true"
v-if="!mergedOptions.hideDate && event.options.showStartTime"
v-if="!mergedOptions.hideDate && event.options?.showStartTime"
:date="event.beginsOn.toString()"
:timezone="event.options.timezone"
:timezone="event.options?.timezone"
/>
</div>
<span