Swap confirm and abort buttons

This commit is contained in:
Tobias Eidelpes 2021-05-03 17:37:22 +02:00
parent fb822f0afc
commit ce4f2e517c

View File

@ -3,6 +3,6 @@
<p>{{data.body}}</p> <p>{{data.body}}</p>
</mat-dialog-content> </mat-dialog-content>
<mat-dialog-actions mat-dialog-actions align="end"> <mat-dialog-actions mat-dialog-actions align="end">
<button mat-raised-button color="primary" [mat-dialog-close]="true">{{data.confirm}}</button>
<button *ngIf="data.hideAbort === false" mat-raised-button mat-dialog-close color="warn">{{data.abort}}</button> <button *ngIf="data.hideAbort === false" mat-raised-button mat-dialog-close color="warn">{{data.abort}}</button>
<button mat-raised-button color="primary" [mat-dialog-close]="true">{{data.confirm}}</button>
</mat-dialog-actions> </mat-dialog-actions>