File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
clients/Application/src/app/views/products/list Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ <h2>Product List</h2>
18
18
</ ng-container >
19
19
20
20
<!-- Description Column -->
21
- < ng-container matColumnDef ="description ">
22
- < th mat-header-cell *matHeaderCellDef > Description </ th >
23
- < td mat-cell *matCellDef ="let element "> {{ element.description }}</ td >
21
+ < ng-container matColumnDef ="sku ">
22
+ < th mat-header-cell *matHeaderCellDef > SKU </ th >
23
+ < td mat-cell *matCellDef ="let element "> {{ element.sku }}</ td >
24
24
</ ng-container >
25
25
26
26
< tr mat-header-row *matHeaderRowDef ="displayedColumns "> </ tr >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { ProductService } from '../product.service';
11
11
export class ListComponent implements OnInit {
12
12
productData : Product [ ] = [ ] ;
13
13
isLoading : boolean = true ;
14
- displayedColumns : string [ ] = [ 'name' , 'price' , 'description ' ] ;
14
+ displayedColumns : string [ ] = [ 'name' , 'price' , 'sku ' ] ;
15
15
16
16
constructor ( private productSvc : ProductService , private router : Router ) { }
17
17
You can’t perform that action at this time.
0 commit comments