fix : box disabiling according to number selection (tan,qui & for)
This commit is contained in:
parent
200360cb68
commit
7d383587cf
@ -251,6 +251,10 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
|
||||
if (this.selectedNumbers.includes('F')) {
|
||||
return true;
|
||||
}
|
||||
// Disable Box toggle for TAN, QUI, FOR after any number is selected
|
||||
if (['TAN', 'QUI', 'FOR'].includes(this.selectedLabel) && this.selectedNumbers.length > 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user