mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Search for new editions from goodreads when identifying
This commit is contained in:
@@ -64,7 +64,7 @@ class SelectBookModalContentConnector extends Component {
|
||||
this.props.updateInteractiveImportItem({
|
||||
id,
|
||||
book,
|
||||
editionId: undefined,
|
||||
foreignEditionId: undefined,
|
||||
rejections: []
|
||||
});
|
||||
});
|
||||
|
||||
@@ -34,8 +34,6 @@ class SelectBookRow extends Component {
|
||||
render() {
|
||||
const {
|
||||
title,
|
||||
disambiguation,
|
||||
bookType,
|
||||
releaseDate,
|
||||
statistics,
|
||||
monitored,
|
||||
@@ -48,8 +46,6 @@ class SelectBookRow extends Component {
|
||||
totalBookCount
|
||||
} = statistics;
|
||||
|
||||
const extendedTitle = disambiguation ? `${title} (${disambiguation})` : title;
|
||||
|
||||
return (
|
||||
<TableRow
|
||||
onClick={this.onPress}
|
||||
@@ -69,15 +65,7 @@ class SelectBookRow extends Component {
|
||||
if (name === 'title') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
{extendedTitle}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'bookType') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
{bookType}
|
||||
{title}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
@@ -121,8 +109,6 @@ class SelectBookRow extends Component {
|
||||
SelectBookRow.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
disambiguation: PropTypes.string.isRequired,
|
||||
bookType: PropTypes.string.isRequired,
|
||||
releaseDate: PropTypes.string.isRequired,
|
||||
onBookSelect: PropTypes.func.isRequired,
|
||||
statistics: PropTypes.object.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user