Einsatz:
-
{{ amount | currency: 'EUR' }}
+
{{ amount | currency:'EUR' }}
{{ isDraw ? 'Zurückgegeben:' : isWin ? 'Gewonnen:' : 'Verloren:' }}
-
- {{ isLoss ? '-' : '+' }}{{ isWin ? amount * 2 : (amount | currency: 'EUR') }}
+
+ {{ isLoss ? '-' : '+' }}{{ isWin ? (amount * 2) : amount | currency:'EUR' }}
- (Einsatz {{ amount | currency: 'EUR' }} × 2)
+ (Einsatz {{ amount | currency:'EUR' }} × 2)
-
- Kontostand:
-
+
Kontostand:
- {{ balance | currency: 'EUR' }}
+ {{ balance | currency:'EUR' }}
diff --git a/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts b/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts
index a57dfe0..90f9a9b 100644
--- a/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts
+++ b/frontend/src/app/shared/components/debt-dialog/debt-dialog.component.ts
@@ -1,13 +1,4 @@
-import {
- ChangeDetectionStrategy,
- Component,
- EventEmitter,
- Input,
- OnDestroy,
- OnInit,
- Output,
- signal,
-} from '@angular/core';
+import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, OnInit, Output, signal } from '@angular/core';
import { CommonModule } from '@angular/common';
import { animate, style, transition, trigger } from '@angular/animations';
import { interval, takeWhile } from 'rxjs';
@@ -21,22 +12,19 @@ import { interval, takeWhile } from 'rxjs';
WARNUNG!
- Du hast nicht genug Geld für den Double Down. Du bist jetzt im Minus und schuldest uns
- {{ amount | currency: 'EUR' }}.
+ Du hast nicht genug Geld für den Double Down. Du bist jetzt im Minus und schuldest uns {{ amount | currency:'EUR' }}.
Liefer das Geld sofort an den Dead Drop oder es wird unangenehme Konsequenzen geben!
-
+
Schulden:
-
{{ amount | currency: 'EUR' }}
+
{{ amount | currency:'EUR' }}
-
-
+
-
-
+
+
-
+
ZEIT ABGELAUFEN
-
-
+
+
-
@@ -149,7 +117,7 @@ export class DebtDialogComponent implements OnInit, OnDestroy {
this.timerSubscription = interval(1000)
.pipe(takeWhile(() => this.timeLeft() > 0))
.subscribe(() => {
- this.timeLeft.update((value) => value - 1);
+ this.timeLeft.update(value => value - 1);
if (this.timeLeft() <= 5) {
this.warningSound.play();
}
@@ -170,4 +138,4 @@ export class DebtDialogComponent implements OnInit, OnDestroy {
this.visible = false;
this.dialogClosed.emit();
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/navbar/navbar.component.html b/frontend/src/app/shared/components/navbar/navbar.component.html
index b34aea5..a4ea516 100644
--- a/frontend/src/app/shared/components/navbar/navbar.component.html
+++ b/frontend/src/app/shared/components/navbar/navbar.component.html
@@ -19,9 +19,7 @@
class="text-white font-bold bg-deep-blue-contrast rounded-full px-4 py-2 text-sm hover:bg-deep-blue-contrast/80 hover:cursor-pointer hover:scale-105 transition-all active:scale-95 select-none duration-300"
routerLink="/home"
>
-
{{
- balance() | currency: 'EUR' : 'symbol' : '1.2-2'
- }}
+
{{ balance() | currency: 'EUR' : 'symbol' : '1.2-2' }}
Abmelden
}