Fixed: Remove value length restriction from ArtistSearch

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2018-09-13 22:43:57 -04:00
parent 1fb0b867a9
commit ca244b0da5

View file

@ -182,17 +182,15 @@ class ArtistSearchInput extends Component {
}); });
} }
if (value.length >= 3) { suggestionGroups.push({
suggestionGroups.push({ title: 'Add New Artist',
title: 'Add New Artist', suggestions: [
suggestions: [ {
{ type: ADD_NEW_TYPE,
type: ADD_NEW_TYPE, title: value
title: value }
} ]
] });
});
}
const inputProps = { const inputProps = {
ref: this.setInputRef, ref: this.setInputRef,