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:
@@ -16,7 +16,7 @@ import { ConfirmDialogComponent } from '../../shared/confirm-dialog/confirm-dial
|
||||
styleUrls: ['./account-detail.component.css'],
|
||||
})
|
||||
export class AccountDetailComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('nameElement', { static: true }) nameElement: ElementRef;
|
||||
@ViewChild('nameElement', { static: true }) nameElement?: ElementRef;
|
||||
form: FormGroup;
|
||||
accountTypes: AccountType[];
|
||||
costCentres: CostCentre[];
|
||||
|
||||
Reference in New Issue
Block a user