1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

[system admin] search groups: use new api (#4262)

This commit is contained in:
llj
2019-11-16 10:58:17 +08:00
committed by Daniel Pan
parent dae4d91b09
commit 05a4894bc1

View File

@@ -33,7 +33,7 @@ class SearchGroups extends Component {
seafileAPI.sysAdminSearchGroups(name).then((res) => {
this.setState({
loading: false,
groupList: res.data.groups
groupList: res.data.group_list
});
}).catch((error) => {
if (error.response) {