forked from potsda.mn/mobilizon
Handle tags on eventlistcard properly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
cb4b251c77
commit
4e27d04569
|
@ -22,7 +22,7 @@
|
|||
</b-tag>
|
||||
<router-link
|
||||
:to="{ name: RouteName.TAG, params: { tag: tag.title } }"
|
||||
v-for="tag in event.tags.slice(0, 3)"
|
||||
v-for="tag in (event.tags || []).slice(0, 3)"
|
||||
:key="tag.slug"
|
||||
>
|
||||
<b-tag type="is-light">{{ tag.title }}</b-tag>
|
||||
|
|
Loading…
Reference in a new issue