diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 397d7c9..b8adc5f 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -63,7 +63,7 @@ export const routes: Routes = [ }, { path: 'game/dice', - loadComponent: () => import('./feature/game/dice/dice.component').then(m => m.DiceComponent), + loadComponent: () => import('./feature/game/dice/dice.component').then((m) => m.DiceComponent), canActivate: [authGuard], }, ]; diff --git a/frontend/src/app/feature/game/dice/dice.component.html b/frontend/src/app/feature/game/dice/dice.component.html index 6557b60..4905c50 100644 --- a/frontend/src/app/feature/game/dice/dice.component.html +++ b/frontend/src/app/feature/game/dice/dice.component.html @@ -1,74 +1,121 @@ -
You Won! Payout: {{ payout() | currency:'EUR':'symbol':'1.2-2' }}
- } @else { -You Lost.
- } -+ You Won! Payout: {{ payout() | currency: 'EUR' : 'symbol' : '1.2-2' }} +
+ } @else { +You Lost.
+ } +