Hide ratings if non existent

This commit is contained in:
Stevie Robinson 2023-12-13 23:17:18 +01:00
parent 97ee24507f
commit 4f57df494e
1 changed files with 7 additions and 5 deletions

View File

@ -406,11 +406,13 @@ class SeriesDetails extends Component {
</span>
}
<HeartRating
rating={ratings.value}
iconSize={20}
/>
{
!!ratings.value &&
<HeartRating
rating={ratings.value}
iconSize={20}
/>
}
<SeriesGenres genres={genres} />
<span>