|
|
@ -20,6 +20,7 @@ function MissingRow(props) {
|
|
|
|
albumType,
|
|
|
|
albumType,
|
|
|
|
foreignAlbumId,
|
|
|
|
foreignAlbumId,
|
|
|
|
title,
|
|
|
|
title,
|
|
|
|
|
|
|
|
disambiguation,
|
|
|
|
isSelected,
|
|
|
|
isSelected,
|
|
|
|
columns,
|
|
|
|
columns,
|
|
|
|
onSelectedChange
|
|
|
|
onSelectedChange
|
|
|
@ -55,30 +56,13 @@ function MissingRow(props) {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if (name === 'episode') {
|
|
|
|
|
|
|
|
// return (
|
|
|
|
|
|
|
|
// <TableRowCell
|
|
|
|
|
|
|
|
// key={name}
|
|
|
|
|
|
|
|
// className={styles.episode}
|
|
|
|
|
|
|
|
// >
|
|
|
|
|
|
|
|
// <SeasonEpisodeNumber
|
|
|
|
|
|
|
|
// seasonNumber={seasonNumber}
|
|
|
|
|
|
|
|
// episodeNumber={episodeNumber}
|
|
|
|
|
|
|
|
// absoluteEpisodeNumber={absoluteEpisodeNumber}
|
|
|
|
|
|
|
|
// sceneSeasonNumber={sceneSeasonNumber}
|
|
|
|
|
|
|
|
// sceneEpisodeNumber={sceneEpisodeNumber}
|
|
|
|
|
|
|
|
// sceneAbsoluteEpisodeNumber={sceneAbsoluteEpisodeNumber}
|
|
|
|
|
|
|
|
// />
|
|
|
|
|
|
|
|
// </TableRowCell>
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'albumTitle') {
|
|
|
|
if (name === 'albumTitle') {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
<AlbumTitleLink
|
|
|
|
<AlbumTitleLink
|
|
|
|
foreignAlbumId={foreignAlbumId}
|
|
|
|
foreignAlbumId={foreignAlbumId}
|
|
|
|
title={title}
|
|
|
|
title={title}
|
|
|
|
|
|
|
|
disambiguation={disambiguation}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</TableRowCell>
|
|
|
|
</TableRowCell>
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -101,21 +85,6 @@ function MissingRow(props) {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if (name === 'status') {
|
|
|
|
|
|
|
|
// return (
|
|
|
|
|
|
|
|
// <TableRowCell
|
|
|
|
|
|
|
|
// key={name}
|
|
|
|
|
|
|
|
// className={styles.status}
|
|
|
|
|
|
|
|
// >
|
|
|
|
|
|
|
|
// <EpisodeStatusConnector
|
|
|
|
|
|
|
|
// albumId={id}
|
|
|
|
|
|
|
|
// trackFileId={trackFileId}
|
|
|
|
|
|
|
|
// albumEntity={albumEntities.WANTED_MISSING}
|
|
|
|
|
|
|
|
// />
|
|
|
|
|
|
|
|
// </TableRowCell>
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'actions') {
|
|
|
|
if (name === 'actions') {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<AlbumSearchCellConnector
|
|
|
|
<AlbumSearchCellConnector
|
|
|
@ -144,6 +113,7 @@ MissingRow.propTypes = {
|
|
|
|
foreignAlbumId: PropTypes.string.isRequired,
|
|
|
|
foreignAlbumId: PropTypes.string.isRequired,
|
|
|
|
albumType: PropTypes.string.isRequired,
|
|
|
|
albumType: PropTypes.string.isRequired,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
|
|
|
|
disambiguation: PropTypes.string,
|
|
|
|
isSelected: PropTypes.bool,
|
|
|
|
isSelected: PropTypes.bool,
|
|
|
|
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
onSelectedChange: PropTypes.func.isRequired
|
|
|
|
onSelectedChange: PropTypes.func.isRequired
|
|
|
|