Fixed: Remove value length restriction from ArtistSearch

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/6/head
Qstick 6 years ago
parent 1fb0b867a9
commit ca244b0da5

@ -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,

Loading…
Cancel
Save