fix: closing of deposit confirmation modal
This commit is contained in:
parent
caf2794489
commit
95889fc937
2 changed files with 9 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<app-confirmation></app-confirmation>
|
||||
<app-confirmation [successful]="isDepositSuccessful" (close)="closeDepositSuccessfulModal()"></app-confirmation>
|
||||
|
||||
<div class="card p-4">
|
||||
<h3 class="section-heading text-xl mb-4">Letzte Transaktionen</h3>
|
||||
|
|
|
@ -15,6 +15,7 @@ import {ConfirmationComponent} from "../../shared/components/confirmation/confir
|
|||
})
|
||||
export default class HomeComponent {
|
||||
isDepositModalOpen = false;
|
||||
isDepositSuccessful = true;
|
||||
|
||||
featuredGames: Game[] = [
|
||||
{
|
||||
|
@ -78,4 +79,11 @@ export default class HomeComponent {
|
|||
closeDepositModal() {
|
||||
this.isDepositModalOpen = false;
|
||||
}
|
||||
|
||||
openDepositSuccessfulModal() {
|
||||
this.isDepositSuccessful = true;
|
||||
}
|
||||
closeDepositSuccessfulModal() {
|
||||
this.isDepositSuccessful = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue