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