diff --git a/src/app/modules/admin/member/user/components/list.component.html b/src/app/modules/admin/member/user/components/list.component.html index cd4edff..6119884 100644 --- a/src/app/modules/admin/member/user/components/list.component.html +++ b/src/app/modules/admin/member/user/components/list.component.html @@ -27,7 +27,10 @@
- 총회원수:38   + 총회원수:{{ memberTotalCount }}   진행중금액:0   총 보유머니:21,437,873   diff --git a/src/app/modules/admin/member/user/components/list.component.ts b/src/app/modules/admin/member/user/components/list.component.ts index 1612c83..baccb8f 100644 --- a/src/app/modules/admin/member/user/components/list.component.ts +++ b/src/app/modules/admin/member/user/components/list.component.ts @@ -87,6 +87,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { @ViewChildren('chkUsers') chkUsers!: QueryList; + memberTotalCount: number = 0; listMembers$!: Observable; listMemberLevels$!: Observable; @@ -141,6 +142,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { this._activatedRoute.data.subscribe((data) => { let listMemberResult: ListMembersResponse.Result = data['listmembers']; this.listMembers$ = of(listMemberResult.getMembersList()); + this.memberTotalCount = listMemberResult.getTotalCount(); let listMemberLevelsResult: ListMemberLevelsResponse.Result = data['listMemberLevels'];