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 90f9a9b..a57dfe0 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,4 +1,13 @@
-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';
@@ -12,19 +21,22 @@ 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
-
-
+
+
-
@@ -117,7 +149,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();
}
@@ -138,4 +170,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 a4ea516..b34aea5 100644
--- a/frontend/src/app/shared/components/navbar/navbar.component.html
+++ b/frontend/src/app/shared/components/navbar/navbar.component.html
@@ -19,7 +19,9 @@
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
}