style: linter and prettier
This commit is contained in:
parent
212bee3bd2
commit
15a92b984c
5 changed files with 15 additions and 15 deletions
|
@ -71,7 +71,10 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<app-confirmation [successful]="isDepositSuccessful" (close)="closeDepositConfirmationModal()"></app-confirmation>
|
||||
<app-confirmation
|
||||
[successful]="isDepositSuccessful"
|
||||
(close)="closeDepositConfirmationModal()"
|
||||
></app-confirmation>
|
||||
|
||||
<div class="card p-4">
|
||||
<h3 class="section-heading text-xl mb-4">Letzte Transaktionen</h3>
|
||||
|
|
|
@ -4,8 +4,8 @@ import { CurrencyPipe, NgFor } from '@angular/common';
|
|||
import { Game } from '../../model/Game';
|
||||
import { Transaction } from '../../model/Transaction';
|
||||
import { DepositComponent } from '../deposit/deposit.component';
|
||||
import {ConfirmationComponent} from "../../shared/components/confirmation/confirmation.component";
|
||||
import {ActivatedRoute} from "@angular/router";
|
||||
import { ConfirmationComponent } from '../../shared/components/confirmation/confirmation.component';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-homepage',
|
||||
|
|
|
@ -3,12 +3,9 @@
|
|||
<div class="modal-card">
|
||||
<h2 class="modal-heading text-center">Bestätigung</h2>
|
||||
<p class="py-2">Der Vorgang wurde erfolgreich abgeschlossen.</p>
|
||||
<button
|
||||
type="button"
|
||||
class="button-primary w-full py-2 my-auto"
|
||||
(click)="closeModal()"
|
||||
>Schließen</button>
|
||||
<button type="button" class="button-primary w-full py-2 my-auto" (click)="closeModal()">
|
||||
Schließen
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import {Component, EventEmitter, Input, Output} from '@angular/core';
|
|||
templateUrl: './confirmation.component.html',
|
||||
})
|
||||
export class ConfirmationComponent {
|
||||
@Input() successful: boolean = true;
|
||||
@Input() successful = true;
|
||||
@Output() close = new EventEmitter<void>();
|
||||
|
||||
public closeModal() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue