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

* Locks to 1 decimal place instead of infinite
pull/8291/head
Lagicrus 2 years ago committed by GitHub
parent 7d9183ef12
commit a006984d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()}%`
};
}

Loading…
Cancel
Save