mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -14,8 +14,7 @@ function MissingRow(props) {
|
||||
id,
|
||||
artist,
|
||||
releaseDate,
|
||||
albumType,
|
||||
foreignAlbumId,
|
||||
titleSlug,
|
||||
title,
|
||||
disambiguation,
|
||||
isSelected,
|
||||
@@ -46,22 +45,22 @@ function MissingRow(props) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (name === 'artist.sortName') {
|
||||
if (name === 'authors.sortName') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<ArtistNameLink
|
||||
foreignArtistId={artist.foreignArtistId}
|
||||
titleSlug={artist.titleSlug}
|
||||
artistName={artist.artistName}
|
||||
/>
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'albumTitle') {
|
||||
if (name === 'books.title') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<AlbumTitleLink
|
||||
foreignAlbumId={foreignAlbumId}
|
||||
titleSlug={titleSlug}
|
||||
title={title}
|
||||
disambiguation={disambiguation}
|
||||
/>
|
||||
@@ -69,14 +68,6 @@ function MissingRow(props) {
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'albumType') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
{albumType}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'releaseDate') {
|
||||
return (
|
||||
<RelativeDateCellConnector
|
||||
@@ -90,8 +81,8 @@ function MissingRow(props) {
|
||||
return (
|
||||
<AlbumSearchCellConnector
|
||||
key={name}
|
||||
albumId={id}
|
||||
artistId={artist.id}
|
||||
bookId={id}
|
||||
authorId={artist.id}
|
||||
albumTitle={title}
|
||||
albumEntity={albumEntities.WANTED_MISSING}
|
||||
showOpenArtistButton={true}
|
||||
@@ -110,8 +101,7 @@ MissingRow.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
artist: PropTypes.object.isRequired,
|
||||
releaseDate: PropTypes.string.isRequired,
|
||||
foreignAlbumId: PropTypes.string.isRequired,
|
||||
albumType: PropTypes.string.isRequired,
|
||||
titleSlug: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
disambiguation: PropTypes.string,
|
||||
isSelected: PropTypes.bool,
|
||||
|
||||
Reference in New Issue
Block a user