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({
title: 'Add New Artist',
suggestions: [
{
type: ADD_NEW_TYPE,
title: value
}
]
});
}
suggestionGroups.push({
title: 'Add New Artist',
suggestions: [
{
type: ADD_NEW_TYPE,
title: value
}
]
});
const inputProps = {
ref: this.setInputRef,