- Timestamp:
- 11/16/20 03:55:10 (4 years ago)
- Branches:
- master
- Children:
- db484c9
- Parents:
- 8b13eb2
- Location:
- Farmatiko/ClientApp/src/app/dialogs/list-medicines-dialog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/dialogs/list-medicines-dialog/list-medicines-dialog.component.html
r8b13eb2 r8e74e2f 21 21 <tbody> 22 22 <tr *ngFor="let medicine of filteredListMedicines"> 23 <td> >{{ medicine.name }}</td>23 <td>{{ medicine.name }}</td> 24 24 <td>{{ medicine.strength }}</td> 25 25 <td>{{ medicine.form }}</td> -
Farmatiko/ClientApp/src/app/dialogs/list-medicines-dialog/list-medicines-dialog.component.ts
r8b13eb2 r8e74e2f 10 10 }) 11 11 export class ListMedicinesDialogComponent implements OnInit { 12 medicines: IMedicine[] ;12 medicines: IMedicine[] = []; 13 13 listMedicines: IMedicine[]; 14 14 filteredListMedicines: IMedicine[]; … … 30 30 this.medicines = this.medicines.filter(x => x != selectedMedicine); 31 31 } 32 else { 33 this.medicines.push(selectedMedicine); 34 } 32 this.medicines.push(selectedMedicine); 35 33 } 36 34
Note:
See TracChangeset
for help on using the changeset viewer.