mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
update file chooser search interaction (#3158)
This commit is contained in:
@@ -271,7 +271,11 @@ class FileChooser extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderSearchedView = () => {
|
renderSearchedView = () => {
|
||||||
if (!this.state.isResultGot || this.getValueLength(this.inputValue) < 3) {
|
if (this.getValueLength(this.inputValue) < 3) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.state.isResultGot) {
|
||||||
return (<Loading />);
|
return (<Loading />);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user