style: linter and prettier

This commit is contained in:
Lea 2025-03-05 12:00:32 +01:00
parent 212bee3bd2
commit 15a92b984c
5 changed files with 15 additions and 15 deletions

View file

@ -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>
}

View file

@ -1,4 +1,4 @@
import {Component, EventEmitter, Input, Output} from '@angular/core';
import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'app-confirmation',
@ -7,10 +7,10 @@ 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(){
public closeModal() {
this.close.emit();
}
}