mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
Use list user groups API to search groups (#16610)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
8333b19ff2
commit
a5b5e21ec9
@ -81,8 +81,8 @@ export class GroupComponent implements OnInit, OnDestroy {
|
|||||||
this.currentPage = 1;
|
this.currentPage = 1;
|
||||||
this.selectedGroups = [];
|
this.selectedGroups = [];
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
return this.groupService.searchUserGroupsResponse({
|
return this.groupService.listUserGroupsResponse({
|
||||||
groupname: groupName,
|
groupName: groupName,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
page: this.currentPage
|
page: this.currentPage
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user