mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -07:00
[UI Work] Misc UI Fixes and Tweaks
This commit is contained in:
parent
2a6decdc4c
commit
44cc642ad4
80 changed files with 267 additions and 349 deletions
|
@ -76,7 +76,7 @@ class ArtistSearchInput extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
goToSeries(series) {
|
||||
goToArtist(series) {
|
||||
this.setState({ value: '' });
|
||||
this.props.onGoToSeries(series.nameSlug);
|
||||
}
|
||||
|
@ -121,9 +121,9 @@ class ArtistSearchInput extends Component {
|
|||
// otherwise go to the selected series.
|
||||
|
||||
if (highlightedSuggestionIndex == null) {
|
||||
this.goToSeries(suggestions[0]);
|
||||
this.goToArtist(suggestions[0]);
|
||||
} else {
|
||||
this.goToSeries(suggestions[highlightedSuggestionIndex]);
|
||||
this.goToArtist(suggestions[highlightedSuggestionIndex]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ class ArtistSearchInput extends Component {
|
|||
if (suggestion.type === ADD_NEW_TYPE) {
|
||||
this.props.onGoToAddNewArtist(this.state.value);
|
||||
} else {
|
||||
this.goToSeries(suggestion);
|
||||
this.goToArtist(suggestion);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue