17 lines
617 B
HTML
17 lines
617 B
HTML
|
<h2 mat-dialog-title>Reason</h2>
|
||
|
<mat-dialog-content>
|
||
|
<mat-table [dataSource]="dataSource">
|
||
|
|
||
|
<!-- Name Column -->
|
||
|
<ng-container matColumnDef="reason">
|
||
|
<mat-cell *matCellDef="let row" (click)="select(row)">{{row}}</mat-cell>
|
||
|
</ng-container>
|
||
|
|
||
|
<mat-row *matRowDef="let row; columns: displayedColumns;" [class.selected]="row === selected"></mat-row>
|
||
|
</mat-table>
|
||
|
</mat-dialog-content>
|
||
|
<mat-dialog-actions align="end">
|
||
|
<button mat-button [mat-dialog-close]="false">Cancel</button>
|
||
|
<button mat-button (click)="accept()" color="primary" [disabled]="!selected">Ok</button>
|
||
|
</mat-dialog-actions>
|