[UI Work] Add Artist, Import Artist, Calendar

This commit is contained in:
Qstick 2017-09-07 23:09:52 -04:00
parent a747c5f135
commit 77f1d2e64c
109 changed files with 891 additions and 1082 deletions

View file

@ -111,7 +111,7 @@ class SeriesSearchInput extends Component {
} = this._autosuggest.state;
if (!suggestions.length || highlightedSectionIndex) {
this.props.onGoToAddNewSeries(value);
this.props.onGoToAddNewArtist(value);
this._autosuggest.input.blur();
return;
@ -153,7 +153,7 @@ class SeriesSearchInput extends Component {
onSuggestionSelected = (event, { suggestion, sectionIndex }) => {
if (suggestion.type === ADD_NEW_TYPE) {
this.props.onGoToAddNewSeries(this.state.value);
this.props.onGoToAddNewArtist(this.state.value);
} else {
this.goToSeries(suggestion);
}
@ -243,7 +243,7 @@ class SeriesSearchInput extends Component {
SeriesSearchInput.propTypes = {
series: PropTypes.arrayOf(PropTypes.object).isRequired,
onGoToSeries: PropTypes.func.isRequired,
onGoToAddNewSeries: PropTypes.func.isRequired,
onGoToAddNewArtist: PropTypes.func.isRequired,
bindShortcut: PropTypes.func.isRequired
};