diff --git a/frontend/src/app/feature/deposit/deposit.component.ts b/frontend/src/app/feature/deposit/deposit.component.ts index bb38fc9..f0f900a 100644 --- a/frontend/src/app/feature/deposit/deposit.component.ts +++ b/frontend/src/app/feature/deposit/deposit.component.ts @@ -32,7 +32,7 @@ import gsap from 'gsap'; }) export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges { @Input() isOpen = false; - @Output() closeModalEmitter = new EventEmitter(); + @Output() close = new EventEmitter(); @ViewChild('modalBg') modalBg!: ElementRef; @ViewChild('modalCard') modalCard!: ElementRef; protected form!: FormGroup; @@ -110,7 +110,7 @@ export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnCha this.modalAnimationService.closeModal( this.modalCard.nativeElement, this.modalBg.nativeElement, - () => this.closeModalEmitter.emit() + () => this.close.emit() ); } } diff --git a/frontend/src/app/feature/home/home.component.html b/frontend/src/app/feature/home/home.component.html index 0d4708a..fb2424a 100644 --- a/frontend/src/app/feature/home/home.component.html +++ b/frontend/src/app/feature/home/home.component.html @@ -73,10 +73,7 @@

Konto

- + @@ -88,7 +85,7 @@
diff --git a/frontend/src/app/shared/components/confirmation/confirmation.component.ts b/frontend/src/app/shared/components/confirmation/confirmation.component.ts index 9c26f22..d407985 100644 --- a/frontend/src/app/shared/components/confirmation/confirmation.component.ts +++ b/frontend/src/app/shared/components/confirmation/confirmation.component.ts @@ -19,7 +19,7 @@ import gsap from 'gsap'; }) export class ConfirmationComponent implements AfterViewInit, OnDestroy { @Input() successful = true; - @Output() closeConfirmation = new EventEmitter(); + @Output() close = new EventEmitter(); @ViewChild('modalBg') modalBg!: ElementRef; @ViewChild('modalCard') modalCard!: ElementRef; @@ -43,7 +43,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy { this.modalAnimationService.closeModal( this.modalCard.nativeElement, this.modalBg.nativeElement, - () => this.closeConfirmation.emit() + () => this.close.emit() ); } }