mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 07:52:14 +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:
commit
08e52178e6
@ -62,12 +62,12 @@ class SearchGroupMembers extends React.Component {
|
|||||||
isLoading: true
|
isLoading: true
|
||||||
});
|
});
|
||||||
seafileAPI.searchGroupMember(this.props.groupID, q).then((res) => {
|
seafileAPI.searchGroupMember(this.props.groupID, q).then((res) => {
|
||||||
|
this.isInit = false;
|
||||||
this.setState({
|
this.setState({
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
groupMembers: res.data,
|
groupMembers: res.data,
|
||||||
errorMsg: ''
|
errorMsg: ''
|
||||||
});
|
});
|
||||||
this.isInit = false;
|
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
let errMessage = Utils.getErrorMsg(error);
|
let errMessage = Utils.getErrorMsg(error);
|
||||||
this.setState({
|
this.setState({
|
||||||
|
Loading…
Reference in New Issue
Block a user