Rename variables to non dom element names #71

Merged
jank merged 3 commits from fix/rename-to-not-standard-dom-elements into main 2025-03-12 18:52:31 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit a7d98e1150 - Show all commits

View file

@ -85,7 +85,7 @@
<app-confirmation
[successful]="isDepositSuccessful"
(close)="closeDepositConfirmationModal()"
(closeConfirmation)="closeDepositConfirmationModal()"
></app-confirmation>
<div class="card p-4">

View file

@ -19,11 +19,11 @@ import gsap from 'gsap';
})
export class ConfirmationComponent implements AfterViewInit, OnDestroy {
@Input() successful = true;
@Output() close = new EventEmitter<void>();
@Output() closeConfirmation = new EventEmitter<void>();
@ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef;
constructor(private modalAnimationService: ModalAnimationService) {}
constructor(private modalAnimationService: ModalAnimationService) { }
ngAfterViewInit() {
if (this.successful) {
@ -43,7 +43,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy {
this.modalAnimationService.closeModal(
this.modalCard.nativeElement,
this.modalBg.nativeElement,
() => this.close.emit()
() => this.closeConfirmation.emit()
);
}
}