Compare commits
5 commits
5d138ccec7
...
bfa3c59914
Author | SHA1 | Date | |
---|---|---|---|
bfa3c59914 | |||
09fdd83192 | |||
8c9d7c498b | |||
abc4277e84 | |||
a7d98e1150 |
5 changed files with 12 additions and 9 deletions
|
@ -28,7 +28,7 @@ services:
|
|||
condition: service_healthy
|
||||
|
||||
keycloakdb_svr:
|
||||
image: postgres:14.2
|
||||
image: postgres:17.4
|
||||
volumes:
|
||||
- postgres_data_keycloak_db:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
@ -41,7 +41,7 @@ services:
|
|||
- "9433:5432"
|
||||
|
||||
postgres_db:
|
||||
image: postgres:16.4
|
||||
image: postgres:17.4
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
|
|
@ -7,7 +7,7 @@ volumes:
|
|||
services:
|
||||
postgres-employee:
|
||||
container_name: postgres_employee
|
||||
image: postgres:13.3
|
||||
image: postgres:17.4
|
||||
volumes:
|
||||
- employee_postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
|
|
@ -32,7 +32,7 @@ import gsap from 'gsap';
|
|||
})
|
||||
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
||||
@Input() isOpen = false;
|
||||
@Output() close = new EventEmitter<void>();
|
||||
@Output() closeModalEmitter = new EventEmitter<void>();
|
||||
@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.close.emit()
|
||||
() => this.closeModalEmitter.emit()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,7 +73,10 @@
|
|||
<h3 class="section-heading text-xl mb-4">Konto</h3>
|
||||
<div class="space-y-4">
|
||||
<button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button>
|
||||
<app-deposit [isOpen]="isDepositModalOpen" (close)="closeDepositModal()"></app-deposit>
|
||||
<app-deposit
|
||||
[isOpen]="isDepositModalOpen"
|
||||
(closeModalEmitter)="closeDepositModal()"
|
||||
></app-deposit>
|
||||
<button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">
|
||||
Transaktionen
|
||||
</button>
|
||||
|
@ -85,7 +88,7 @@
|
|||
|
||||
<app-confirmation
|
||||
[successful]="isDepositSuccessful"
|
||||
(close)="closeDepositConfirmationModal()"
|
||||
(closeConfirmation)="closeDepositConfirmationModal()"
|
||||
></app-confirmation>
|
||||
|
||||
<div class="card p-4">
|
||||
|
|
|
@ -19,7 +19,7 @@ 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;
|
||||
|
||||
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue