mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
[UI Work] Interactive Import, More Artist Detail
This commit is contained in:
@@ -71,7 +71,7 @@ class ImportArtistRowConnector extends Component {
|
||||
<ImportArtistRow
|
||||
{...this.props}
|
||||
onInputChange={this.onInputChange}
|
||||
onSeriesSelect={this.onSeriesSelect}
|
||||
onArtistSelect={this.onArtistSelect}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -99,10 +99,10 @@ class ImportArtistSelectArtist extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
onSeriesSelect = (foreignArtistId) => {
|
||||
onArtistSelect = (foreignArtistId) => {
|
||||
this.setState({ isOpen: false });
|
||||
|
||||
this.props.onSeriesSelect(foreignArtistId);
|
||||
this.props.onArtistSelect(foreignArtistId);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -117,7 +117,7 @@ class ImportArtistSelectArtist extends Component {
|
||||
error,
|
||||
items,
|
||||
queued,
|
||||
onSeriesSelect
|
||||
onArtistSelect
|
||||
} = this.props;
|
||||
|
||||
const errorMessage = error &&
|
||||
@@ -233,7 +233,7 @@ class ImportArtistSelectArtist extends Component {
|
||||
overview={item.overview}
|
||||
// year={item.year}
|
||||
// network={item.network}
|
||||
onPress={this.onSeriesSelect}
|
||||
onPress={this.onArtistSelect}
|
||||
/>
|
||||
);
|
||||
})
|
||||
@@ -257,7 +257,7 @@ ImportArtistSelectArtist.propTypes = {
|
||||
items: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
queued: PropTypes.bool.isRequired,
|
||||
onSearchInputChange: PropTypes.func.isRequired,
|
||||
onSeriesSelect: PropTypes.func.isRequired
|
||||
onArtistSelect: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
ImportArtistSelectArtist.defaultProps = {
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ class ImportArtistSelectArtistConnector extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
onSeriesSelect = (foreignArtistId) => {
|
||||
onArtistSelect = (foreignArtistId) => {
|
||||
const {
|
||||
id,
|
||||
items
|
||||
@@ -53,7 +53,7 @@ class ImportArtistSelectArtistConnector extends Component {
|
||||
<ImportArtistSelectArtist
|
||||
{...this.props}
|
||||
onSearchInputChange={this.onSearchInputChange}
|
||||
onSeriesSelect={this.onSeriesSelect}
|
||||
onArtistSelect={this.onArtistSelect}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user