mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
improve search-api error handler (#3855)
* improve search-api error handler * optimized code
This commit is contained in:
@@ -226,9 +226,6 @@ class FileChooser extends React.Component {
|
||||
isResultGot: true
|
||||
});
|
||||
this.source = null;
|
||||
}).catch(error => {
|
||||
let errMessage = Utils.getErrorMsg(error);
|
||||
toaster.danger(errMessage);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user