From ca244b0da58a3894a60694630844f708c0f37658 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 13 Sep 2018 22:43:57 -0400 Subject: [PATCH] Fixed: Remove value length restriction from ArtistSearch Co-Authored-By: Mark McDowall --- .../Page/Header/ArtistSearchInput.js | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/frontend/src/Components/Page/Header/ArtistSearchInput.js b/frontend/src/Components/Page/Header/ArtistSearchInput.js index 7a316662c..52a800deb 100644 --- a/frontend/src/Components/Page/Header/ArtistSearchInput.js +++ b/frontend/src/Components/Page/Header/ArtistSearchInput.js @@ -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,