mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-22 15:56:58 +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:
parent
ddb25b1095
commit
5e761f766c
1 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,8 @@ class SeriesHistoryRow extends Component {
|
||||||
data,
|
data,
|
||||||
fullSeries,
|
fullSeries,
|
||||||
series,
|
series,
|
||||||
episode
|
episode,
|
||||||
|
customFormatScore
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
@ -145,7 +146,7 @@ class SeriesHistoryRow extends Component {
|
||||||
<TableRowCell className={styles.customFormatScore}>
|
<TableRowCell className={styles.customFormatScore}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
anchor={
|
anchor={
|
||||||
formatPreferredWordScore(data.customFormatScore, customFormats.length)
|
formatPreferredWordScore(customFormatScore, customFormats.length)
|
||||||
}
|
}
|
||||||
tooltip={<EpisodeFormats formats={customFormats} />}
|
tooltip={<EpisodeFormats formats={customFormats} />}
|
||||||
position={tooltipPositions.BOTTOM}
|
position={tooltipPositions.BOTTOM}
|
||||||
|
@ -190,6 +191,7 @@ SeriesHistoryRow.propTypes = {
|
||||||
fullSeries: PropTypes.bool.isRequired,
|
fullSeries: PropTypes.bool.isRequired,
|
||||||
series: PropTypes.object.isRequired,
|
series: PropTypes.object.isRequired,
|
||||||
episode: PropTypes.object.isRequired,
|
episode: PropTypes.object.isRequired,
|
||||||
|
customFormatScore: PropTypes.number.isRequired,
|
||||||
onMarkAsFailedPress: PropTypes.func.isRequired
|
onMarkAsFailedPress: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue