1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

update file chooser search interaction (#3158)

This commit is contained in:
杨顺强
2019-03-22 08:43:02 +08:00
committed by Daniel Pan
parent 951af372c2
commit 27ae8f47e1

View File

@@ -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 (<Loading />);
}