mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-19 21:46:43 -04:00
New: Show updated Custom Format Score in history
This commit is contained in:
committed by
Mark McDowall
parent
68d026479f
commit
6dcfc661a1
@@ -69,6 +69,7 @@ class EpisodeHistoryRow extends Component {
|
||||
quality,
|
||||
qualityCutoffNotMet,
|
||||
customFormats,
|
||||
customFormatScore,
|
||||
date,
|
||||
data
|
||||
} = this.props;
|
||||
@@ -125,7 +126,7 @@ class EpisodeHistoryRow extends Component {
|
||||
<TableRowCell className={styles.customFormatScore}>
|
||||
<Tooltip
|
||||
anchor={
|
||||
formatPreferredWordScore(data.customFormatScore, customFormats.length)
|
||||
formatPreferredWordScore(customFormatScore, customFormats.length)
|
||||
}
|
||||
tooltip={<EpisodeFormats formats={customFormats} />}
|
||||
position={tooltipPositions.BOTTOM}
|
||||
@@ -165,6 +166,7 @@ EpisodeHistoryRow.propTypes = {
|
||||
quality: PropTypes.object.isRequired,
|
||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||
customFormats: PropTypes.arrayOf(PropTypes.object),
|
||||
customFormatScore: PropTypes.number.isRequired,
|
||||
date: PropTypes.string.isRequired,
|
||||
data: PropTypes.object.isRequired,
|
||||
onMarkAsFailedPress: PropTypes.func.isRequired
|
||||
|
||||
Reference in New Issue
Block a user