From a5b5e21ec92626ea51ee3b2113942c0a5f77ddb7 Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Wed, 30 Mar 2022 19:46:29 +0800 Subject: [PATCH] Use list user groups API to search groups (#16610) Signed-off-by: AllForNothing --- .../src/app/base/left-side-nav/group/group.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/portal/src/app/base/left-side-nav/group/group.component.ts b/src/portal/src/app/base/left-side-nav/group/group.component.ts index a84b9a8ce..e7295516a 100644 --- a/src/portal/src/app/base/left-side-nav/group/group.component.ts +++ b/src/portal/src/app/base/left-side-nav/group/group.component.ts @@ -81,8 +81,8 @@ export class GroupComponent implements OnInit, OnDestroy { this.currentPage = 1; this.selectedGroups = []; this.loading = true; - return this.groupService.searchUserGroupsResponse({ - groupname: groupName, + return this.groupService.listUserGroupsResponse({ + groupName: groupName, pageSize: this.pageSize, page: this.currentPage })