1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 07:43:01 +00:00

Fixed: Show calculated (rather than stored) custom format score on season and series history, to match episode history

This commit is contained in:
bpoxy 2023-02-12 15:48:23 -07:00 committed by GitHub
parent ddb25b1095
commit 5e761f766c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,8 @@ class SeriesHistoryRow extends Component {
data,
fullSeries,
series,
episode
episode,
customFormatScore
} = this.props;
const {
@ -145,7 +146,7 @@ class SeriesHistoryRow extends Component {
<TableRowCell className={styles.customFormatScore}>
<Tooltip
anchor={
formatPreferredWordScore(data.customFormatScore, customFormats.length)
formatPreferredWordScore(customFormatScore, customFormats.length)
}
tooltip={<EpisodeFormats formats={customFormats} />}
position={tooltipPositions.BOTTOM}
@ -190,6 +191,7 @@ SeriesHistoryRow.propTypes = {
fullSeries: PropTypes.bool.isRequired,
series: PropTypes.object.isRequired,
episode: PropTypes.object.isRequired,
customFormatScore: PropTypes.number.isRequired,
onMarkAsFailedPress: PropTypes.func.isRequired
};