Add Album Type to Wanted and Cutoff Tab Table

This commit is contained in:
Qstick 2017-10-31 23:43:40 -04:00
parent 1451a63c06
commit 8c31d39b3d
3 changed files with 32 additions and 0 deletions

View file

@ -18,6 +18,7 @@ function MissingRow(props) {
// trackFileId,
artist,
releaseDate,
albumType,
title,
isSelected,
columns,
@ -86,6 +87,14 @@ function MissingRow(props) {
);
}
if (name === 'albumType') {
return (
<TableRowCell key={name}>
{albumType}
</TableRowCell>
);
}
if (name === 'releaseDate') {
return (
<RelativeDateCellConnector
@ -135,6 +144,7 @@ MissingRow.propTypes = {
// trackFileId: PropTypes.number,
artist: PropTypes.object.isRequired,
releaseDate: PropTypes.string.isRequired,
albumType: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
isSelected: PropTypes.bool,
columns: PropTypes.arrayOf(PropTypes.object).isRequired,