1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02:00

Fixed: Skip MovieDetails Ratings Render if Null

This commit is contained in:
Qstick 2020-04-03 10:06:24 -04:00 committed by GitHub
parent 1137c8d770
commit 74c0e409e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,10 +351,13 @@ class MovieDetails extends Component {
</span>
}
<HeartRating
rating={ratings.value}
iconSize={20}
/>
{
!!ratings &&
<HeartRating
rating={ratings.value}
iconSize={20}
/>
}
</div>
</div>