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:
@@ -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 />);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user