1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

New: Show updated Custom Format Score in history

This commit is contained in:
Mark McDowall
2022-12-12 23:48:48 -08:00
committed by Mark McDowall
parent 68d026479f
commit 6dcfc661a1
3 changed files with 12 additions and 3 deletions
+3 -1
View File
@@ -62,6 +62,7 @@ class HistoryRow extends Component {
languages,
quality,
customFormats,
customFormatScore,
qualityCutoffNotMet,
eventType,
sourceTitle,
@@ -209,7 +210,7 @@ class HistoryRow extends Component {
key={name}
className={styles.customFormatScore}
>
{formatPreferredWordScore(data.customFormatScore)}
{formatPreferredWordScore(customFormatScore)}
</TableRowCell>
);
}
@@ -277,6 +278,7 @@ HistoryRow.propTypes = {
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
quality: PropTypes.object.isRequired,
customFormats: PropTypes.arrayOf(PropTypes.object),
customFormatScore: PropTypes.number.isRequired,
qualityCutoffNotMet: PropTypes.bool.isRequired,
eventType: PropTypes.string.isRequired,
sourceTitle: PropTypes.string.isRequired,