1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-20 13:27:10 +00:00

Fixed: Lock rating to 0 decimal places in Discovery (#8279)

* Locks to 1 decimal place instead of infinite
This commit is contained in:
Lagicrus 2023-04-02 21:27:36 +01:00 committed by GitHub
parent 7d9183ef12
commit a006984d5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ function getInfoRowProps(row, props) {
return {
title: translate('Ratings'),
iconName: icons.HEART,
label: `${props.ratings.tmdb.value * 10}%`
label: `${(props.ratings.tmdb.value * 10).toFixed()}%`
};
}