diff --git a/src/app/modules/admin/member/user/components/view.component.html b/src/app/modules/admin/member/user/components/view.component.html
index a67df31..9170104 100644
--- a/src/app/modules/admin/member/user/components/view.component.html
+++ b/src/app/modules/admin/member/user/components/view.component.html
@@ -47,7 +47,7 @@
하부회원수
•
- {{ currentMember?.getChildMemberCount() }}명
+ {{ __getDirectChildCount() }}명
총입금
diff --git a/src/app/modules/admin/member/user/components/view.component.ts b/src/app/modules/admin/member/user/components/view.component.ts
index c407c17..2408819 100644
--- a/src/app/modules/admin/member/user/components/view.component.ts
+++ b/src/app/modules/admin/member/user/components/view.component.ts
@@ -661,6 +661,15 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
return item.id || index;
}
+ __getDirectChildCount(): number {
+ if (
+ !!this.currentMember?.getChildrenCountList() &&
+ this.currentMember?.getChildrenCountList().length > 0
+ ) {
+ return this.currentMember?.getChildrenCountList()[0];
+ }
+ return 0;
+ }
__changePassword(): void {
const password = this.memberDefaultForm.get('signinPw')?.value as string;
const passwordConfirm = this.memberDefaultForm.get('signinPwConfirm')