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:
@ -31,8 +31,8 @@ import { IssueGridService } from './issue-grid.service';
|
||||
styleUrls: ['./issue.component.css'],
|
||||
})
|
||||
export class IssueComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
@ViewChild('batchElement', { static: true }) batchElement: ElementRef;
|
||||
@ViewChild('dateElement', { static: true }) dateElement: ElementRef;
|
||||
@ViewChild('batchElement', { static: true }) batchElement?: ElementRef;
|
||||
@ViewChild('dateElement', { static: true }) dateElement?: ElementRef;
|
||||
public inventoryObservable = new BehaviorSubject<Inventory[]>([]);
|
||||
public gridObservable = new BehaviorSubject<any[]>([]);
|
||||
dataSource: IssueDataSource;
|
||||
|
||||
Reference in New Issue
Block a user