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:
1 parent
39e3cc51bb
commit
af343cb7f9
66 files changed
+556
-328
No files matched your search
@@ -22,9 +22,9 @@ import { LedgerService } from './ledger.service';
|
||||
styleUrls: ['./ledger.component.css'],
|
||||
})
|
||||
export class LedgerComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('accountElement', { static: true }) accountElement: ElementRef;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
@ViewChild('accountElement', { static: true }) accountElement?: ElementRef;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator?: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort?: MatSort;
|
||||
dataSource: LedgerDataSource;
|
||||
form: FormGroup;
|
||||
info: Ledger;
|
||||
|
||||
Reference in new issue
Block a user