diff --git a/src/app/modules/admin/member/partner-recommendation/components/list.component.html b/src/app/modules/admin/member/partner-recommendation/components/list.component.html
index 7c975ca..7dce47b 100644
--- a/src/app/modules/admin/member/partner-recommendation/components/list.component.html
+++ b/src/app/modules/admin/member/partner-recommendation/components/list.component.html
@@ -52,7 +52,7 @@
상위 |
- {{ __getParentUserName("") }}
+ {{ __getParentUserName(info) }}
|
@@ -95,9 +95,9 @@
계좌정보 |
- {{ info.getBankAccount() }}
- {{ info.getBankAccount() }}
- {{ info.getBankAccount() }}
+ {{ info.getBankAccount().getName() }}
+ {{ info.getBankAccount().getAccountNumber() }}
+
|
@@ -209,7 +209,7 @@
상위 |
- {{ __getParentUserName("") }}
+ {{ __getParentUserName(info) }}
|
diff --git a/src/app/modules/admin/member/partner-recommendation/components/list.component.ts b/src/app/modules/admin/member/partner-recommendation/components/list.component.ts
index 05f1507..d8a948c 100644
--- a/src/app/modules/admin/member/partner-recommendation/components/list.component.ts
+++ b/src/app/modules/admin/member/partner-recommendation/components/list.component.ts
@@ -377,11 +377,13 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
});
}
- __getParentUserName(parentId: string): string {
+ __getParentUserName(info: MemberModel): string {
/* console.log(member.getReferrerMember()?.getUsername());
const name = member.getReferrerMember()?.getUsername(); */
- const find = this.listMembers.find((m) => m.getId() === parentId);
+ const find = this.listMembers.find(
+ (m) => m.getId() === info.getParentMember()?.getId()
+ );
return !!find ? find.getUsername() : '없음';
}