Skip to content

Commit

Permalink
fix: confirmation dialog close button is clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig authored and TheSlimvReal committed Feb 3, 2023
1 parent 1fd46ec commit 8724a37
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<app-dialog-close *ngIf="data.closeButton" mat-dialog-close></app-dialog-close>
<h1 mat-dialog-title>{{ data.title }}</h1>
<h1 mat-dialog-title>
{{ data.title }}
<app-dialog-close
*ngIf="data.closeButton"
mat-dialog-close
></app-dialog-close>
</h1>
<div mat-dialog-content>
<p>{{ data.text }}</p>
</div>
Expand All @@ -11,6 +16,6 @@ <h1 mat-dialog-title>{{ data.title }}</h1>
(click)="button.click()"
[mat-dialog-close]="button.dialogResult"
>
{{button.text}}
{{ button.text }}
</button>
</div>

0 comments on commit 8724a37

Please sign in to comment.