Fixed: Manage Tracks not showing whether language/quality meets cutoff

This commit is contained in:
Qstick 2020-09-06 22:24:20 -04:00
parent 5bca13b21f
commit 7860f9ee81
3 changed files with 12 additions and 4 deletions

View file

@ -67,6 +67,7 @@ function createMapStateToProps() {
return {
path: trackFile.path,
quality: trackFile.quality,
qualityCutoffNotMet: trackFile.qualityCutoffNotMet,
...track
};
});

View file

@ -12,6 +12,7 @@ function TrackFileEditorRow(props) {
trackNumber,
path,
quality,
qualityCutoffNotMet,
isSelected,
onSelectedChange
} = props;
@ -35,6 +36,7 @@ function TrackFileEditorRow(props) {
<TableRowCell>
<TrackQuality
quality={quality}
isCutoffNotMet={qualityCutoffNotMet}
/>
</TableRowCell>
</TableRow>
@ -46,6 +48,7 @@ TrackFileEditorRow.propTypes = {
trackNumber: PropTypes.string.isRequired,
path: PropTypes.string.isRequired,
quality: PropTypes.object.isRequired,
qualityCutoffNotMet: PropTypes.bool.isRequired,
isSelected: PropTypes.bool,
onSelectedChange: PropTypes.func.isRequired
};