Fix: Cannot move kot as row.kotId was always undefined.
This commit is contained in:
@ -90,7 +90,7 @@
|
|||||||
<ng-container matColumnDef="kotActions">
|
<ng-container matColumnDef="kotActions">
|
||||||
<mat-header-cell *matHeaderCellDef>Quantity</mat-header-cell>
|
<mat-header-cell *matHeaderCellDef>Quantity</mat-header-cell>
|
||||||
<mat-cell *matCellDef="let row" class="right-align">
|
<mat-cell *matCellDef="let row" class="right-align">
|
||||||
<button mat-icon-button (click)="moveKot(row)" [disabled]="!row.kotId">
|
<button mat-icon-button (click)="moveKot(row)" [disabled]="!row.kot.id">
|
||||||
<mat-icon class="del">open_in_new</mat-icon>
|
<mat-icon class="del">open_in_new</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-cell>
|
</mat-cell>
|
||||||
|
|||||||
Reference in New Issue
Block a user