mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-25 23:32:41 +00:00
Fixed: Page header search box uses incorrect artist link
This commit is contained in:
parent
960330a004
commit
9374461d97
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ class ArtistSearchInput extends Component {
|
||||||
|
|
||||||
goToArtist(artist) {
|
goToArtist(artist) {
|
||||||
this.setState({ value: '' });
|
this.setState({ value: '' });
|
||||||
this.props.onGoToArtist(artist.nameSlug);
|
this.props.onGoToArtist(artist.foreignArtistId);
|
||||||
}
|
}
|
||||||
|
|
||||||
reset() {
|
reset() {
|
||||||
|
|
|
@ -18,8 +18,8 @@ function createMapStateToProps() {
|
||||||
|
|
||||||
function createMapDispatchToProps(dispatch, props) {
|
function createMapDispatchToProps(dispatch, props) {
|
||||||
return {
|
return {
|
||||||
onGoToArtist(nameSlug) {
|
onGoToArtist(foreignArtistId) {
|
||||||
dispatch(push(`${window.Sonarr.urlBase}/artist/${nameSlug}`));
|
dispatch(push(`${window.Sonarr.urlBase}/artist/${foreignArtistId}`));
|
||||||
},
|
},
|
||||||
|
|
||||||
onGoToAddNewArtist(query) {
|
onGoToAddNewArtist(query) {
|
||||||
|
|
Loading…
Reference in a new issue