fix : default disable label {win etc ..}

This commit is contained in:
karthik 2025-07-23 16:54:27 +05:30
parent 69f14893d6
commit 1cb49f2dc4

View File

@ -28,10 +28,10 @@
<div class="p-2 rounded wrapper-pad" [ngStyle]="{ 'background-color': ticketingActive ? '#d0ddf5' : '#f1f1f1df', border: ticketingActive ? '3px solid #050505' : 'none' }"> <div class="p-2 rounded wrapper-pad" [ngStyle]="{ 'background-color': ticketingActive ? '#d0ddf5' : '#f1f1f1df', border: ticketingActive ? '3px solid #050505' : 'none' }">
<div class="row gx-1 gy-1 custom-touchpad"> <div class="row gx-1 gy-1 custom-touchpad">
<div class="col-4" *ngFor="let label of labelRowsFlat; let i = index"> <div class="col-4" *ngFor="let label of labelRowsFlat; let i = index">
<button <button
class="btn w-100 number-button" class="btn w-100 number-button"
[ngClass]="'btn-color-' + i" [ngClass]="'btn-color-' + i"
[disabled]="!!selectedLabel || maxRowsReached" [disabled]="!ticketingActive || !!selectedLabel || maxRowsReached"
(click)="selectLabel(label)" (click)="selectLabel(label)"
> >
{{ label }} {{ label }}