Hide ratings if non existent
This commit is contained in:
parent
97ee24507f
commit
4f57df494e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue