Fixed: MovieDetails Files Table not reflecting cutoff status

pull/3718/head
Qstick 5 years ago
parent 328477a1c6
commit fee8244a74

@ -71,6 +71,7 @@ class MovieFileEditorRow extends Component {
id, id,
relativePath, relativePath,
quality, quality,
qualityCutoffNotMet,
languages languages
} = this.props; } = this.props;
@ -138,6 +139,7 @@ class MovieFileEditorRow extends Component {
<MovieQuality <MovieQuality
className={styles.label} className={styles.label}
quality={quality} quality={quality}
isCutoffNotMet={qualityCutoffNotMet}
/> />
} }
</TableRowCellButton> </TableRowCellButton>
@ -187,6 +189,7 @@ MovieFileEditorRow.propTypes = {
size: PropTypes.number.isRequired, size: PropTypes.number.isRequired,
relativePath: PropTypes.string.isRequired, relativePath: PropTypes.string.isRequired,
quality: PropTypes.object.isRequired, quality: PropTypes.object.isRequired,
qualityCutoffNotMet: PropTypes.bool.isRequired,
languages: PropTypes.arrayOf(PropTypes.object).isRequired, languages: PropTypes.arrayOf(PropTypes.object).isRequired,
mediaInfo: PropTypes.object.isRequired, mediaInfo: PropTypes.object.isRequired,
onDeletePress: PropTypes.func.isRequired onDeletePress: PropTypes.func.isRequired

Loading…
Cancel
Save