modified
This commit is contained in:
parent
e7ae83912a
commit
54aea119d9
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user