bug fix
This commit is contained in:
parent
114b5b9977
commit
bbc896a3a9
|
@ -258,7 +258,7 @@
|
|||
{{ __getCompType(info) }}
|
||||
</div>
|
||||
<div class="hidden lg:block">
|
||||
<div *ngIf="info.getBettingType() !== 'turn_win'">
|
||||
<div *ngIf="info.getBettingType() === 'turn_lose'">
|
||||
본사:
|
||||
{{ __getCalculateRollingRate(info, MAIN_OFFICE_ID) }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
|
|
|
@ -269,7 +269,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
): string {
|
||||
let result: string = '';
|
||||
|
||||
if (info.getBettingType() === 'turn_win') {
|
||||
if (
|
||||
info.getBettingType() === 'turn_win' ||
|
||||
info.getBettingType() === 'turn_bet'
|
||||
) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,6 +12,16 @@
|
|||
<!-- Title -->
|
||||
<div class="text-4xl font-extrabold tracking-tight">
|
||||
<span>{{ title }}</span>
|
||||
<div>
|
||||
<button
|
||||
mat-flat-button
|
||||
class="bet-mat-small-8"
|
||||
[color]="'primary'"
|
||||
(click)="__onClickRegist($event)"
|
||||
>
|
||||
{{ btnTitle }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||
<!-- Search -->
|
||||
|
|
|
@ -139,7 +139,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
switch (this.router.url) {
|
||||
case '/member/partner/all':
|
||||
this.title = '전체목록';
|
||||
this.btnTitle = '대본등록';
|
||||
this.btnTitle = '본사등록';
|
||||
this.memberClassId = environment.constants.classeIds.mainOffice;
|
||||
break;
|
||||
case '/member/partner/main-office':
|
||||
|
|
Loading…
Reference in New Issue
Block a user