All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
This commit is contained in:
@@ -18,8 +18,8 @@ import { RawMaterialCostDataSource } from './raw-material-cost-datasource';
|
||||
styleUrls: ['./raw-material-cost.component.css'],
|
||||
})
|
||||
export class RawMaterialCostComponent implements OnInit {
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator?: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort?: MatSort;
|
||||
dataSource: RawMaterialCostDataSource;
|
||||
form: FormGroup;
|
||||
info: RawMaterialCost;
|
||||
|
||||
Reference in New Issue
Block a user