This commit is contained in:
병준 박 2022-09-07 03:25:19 +00:00
parent e7ae83912a
commit 54aea119d9
2 changed files with 6 additions and 21 deletions

View File

@ -329,7 +329,12 @@
</div>
<div [matTooltip]="__getRateTooltop()">요율</div>
<div>
{{ __getParentUsername(member) }}
<ng-container *ngIf="!!member.getParentMember()">
[{{
member.getParentMember()?.getMemberClass()?.getName()
}}]
{{ member.getParentMember()?.getUsername() }}
</ng-container>
</div>
<div style="text-align: center">
<div

View File

@ -360,26 +360,6 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
});
}
__getParentUsername(member: MemberModel): string {
if (!member || !member.getParentMember()) {
return '';
}
const parentUsername = member.getParentMember()?.getUsername();
const parentClassessId = member
.getParentMember()
?.getMemberClass()
?.getId();
const findClass = this.findMemberClasses(parentClassessId);
if (!findClass) {
return '';
}
return `[${findClass.getName()}]${parentUsername}`;
}
__onMatSortChangeUsers(sort: Sort): void {}
__onClickChangeLevel(member_level_id: string): void {