Show genres only if length > 0

This commit is contained in:
2022-03-06 23:24:57 +01:00
parent e45dffcfbe
commit 0085daec61

View File

@@ -113,7 +113,7 @@
:detail="movie.seasons"
/>
<MovieDetail
v-if="movie.genres"
v-if="movie.genres && movie.genres.length"
title="Genres"
:detail="movie.genres.join(', ')"
/>