1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-14 15:35:35 +00:00

Merge pull request #5042 from haiwen/fix-MichaelAn-search-group-member-bug

fix group member search init style
This commit is contained in:
Daniel Pan 2021-11-26 10:35:44 +08:00 committed by GitHub
commit 08e52178e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,12 +62,12 @@ class SearchGroupMembers extends React.Component {
isLoading: true
});
seafileAPI.searchGroupMember(this.props.groupID, q).then((res) => {
this.isInit = false;
this.setState({
isLoading: false,
groupMembers: res.data,
errorMsg: ''
});
this.isInit = false;
}).catch(error => {
let errMessage = Utils.getErrorMsg(error);
this.setState({