하부회원수 수정
This commit is contained in:
parent
3b637282f3
commit
6a5122a378
|
@ -47,7 +47,7 @@
|
|||
<div class="flex items-center text-secondary my-1">
|
||||
<span>하부회원수</span>
|
||||
<span class="mx-2">•</span>
|
||||
<span>{{ currentMember?.getChildMemberCount() }}명</span>
|
||||
<span>{{ __getDirectChildCount() }}명</span>
|
||||
</div>
|
||||
<div class="flex items-center text-secondary my-1">
|
||||
<span>총입금</span>
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user