diff --git a/btc-UI/src/app/components/selection.service/selection.service.ts b/btc-UI/src/app/components/selection.service/selection.service.ts index efc7161..08a5ca8 100644 --- a/btc-UI/src/app/components/selection.service/selection.service.ts +++ b/btc-UI/src/app/components/selection.service/selection.service.ts @@ -34,14 +34,20 @@ export class SelectionService { updated.total = 0; - if (numbers.length > 0 && value > 0 && label) { + if ((numbers.length > 0 || updated.numbers.includes('F')) && value > 0 && label) { switch (label) { case 'WIN': case 'SHP': case 'THP': case 'PLC': - updated.total = numbers.length * value * 10; + case 'SHW': { + if (updated.numbers.includes('F')) { + updated.total = 12 * value * 10; // 'F' represents 12 runners + } else { + updated.total = numbers.length * value * 10; + } break; + } case 'FOR': { const dashIndex = updated.numbers.indexOf('-'); 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 701dc71..b04639f 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 @@ -16,18 +16,18 @@