Updated formula manager page to work with new data

This commit is contained in:
2019-02-03 20:30:30 -05:00
parent 077cb0b774
commit 10eb16d7f2
8 changed files with 48 additions and 76 deletions

View File

@ -42,7 +42,7 @@
</thead>
<tbody>
<tr *ngFor="let c of components; let i = index">
<td>{{c.name}}</td>
<td>{{c.component.name}}</td>
<td>{{c.quantity | convertFromG: unit}} {{unit}}</td>
<td>
<button mat-icon-button (click)="remove(i)">
@ -62,4 +62,4 @@
<span *ngIf="data">Update</span>
<span *ngIf="!data">Create</span>
</button>
</mat-dialog-actions>
</mat-dialog-actions>