Hide ratings on series page if non existent

This commit is contained in:
Stevie Robinson 2023-12-15 02:22:34 +01:00 committed by GitHub
parent c9a8d32042
commit aa9d25211f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -406,11 +406,14 @@ class SeriesDetails extends Component {
</span> </span>
} }
<HeartRating {
rating={ratings.value} ratings.value ?
iconSize={20} <HeartRating
/> rating={ratings.value}
iconSize={20}
/> :
null
}
<SeriesGenres genres={genres} /> <SeriesGenres genres={genres} />
<span> <span>