Show genres only if length > 0
This commit is contained in:
@@ -113,7 +113,7 @@
|
|||||||
:detail="movie.seasons"
|
:detail="movie.seasons"
|
||||||
/>
|
/>
|
||||||
<MovieDetail
|
<MovieDetail
|
||||||
v-if="movie.genres"
|
v-if="movie.genres && movie.genres.length"
|
||||||
title="Genres"
|
title="Genres"
|
||||||
:detail="movie.genres.join(', ')"
|
:detail="movie.genres.join(', ')"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user