diff --git a/frontend/src/components/file-chooser/file-chooser.js b/frontend/src/components/file-chooser/file-chooser.js index accaef22d9..55b13e15b5 100644 --- a/frontend/src/components/file-chooser/file-chooser.js +++ b/frontend/src/components/file-chooser/file-chooser.js @@ -271,7 +271,11 @@ class FileChooser extends React.Component { } renderSearchedView = () => { - if (!this.state.isResultGot || this.getValueLength(this.inputValue) < 3) { + if (this.getValueLength(this.inputValue) < 3) { + return ''; + } + + if (!this.state.isResultGot) { return (); }