diff --git a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html index 4bbc70b..84c8e3c 100755 --- a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html +++ b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.html @@ -90,7 +90,7 @@
- +
diff --git a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts index b359a36..2705e32 100755 --- a/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts +++ b/btc-UI/src/app/components/touch-pad-menu/touch-pad-menu.component.ts @@ -1608,5 +1608,17 @@ try { get dedupedEnabledHorseNumbers(): number[] { return _.uniq(this.enabledHorseNumbers); } +// Update canEnterRow to require value between 1 and 100 +get canEnterRow(): boolean { + if (this.maxRowsReached) return false; + const currentRow = this.selectionService.getCurrentRow(); + return !!currentRow.label && + !!currentRow.numbers && + currentRow.numbers.length > 0 && + typeof currentRow.value === 'number' && + currentRow.value >= 1 && + currentRow.value <= 100 && + currentRow.total > 0; +} +} -} \ No newline at end of file