Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {AfterViewInit, Component, ElementRef, OnInit, ViewChild} from '@angular/core';
|
||||
import {FormBuilder, FormGroup} from '@angular/forms';
|
||||
import {MatDialog} from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import {ActivatedRoute, Router} from '@angular/router';
|
||||
|
||||
import * as moment from 'moment';
|
||||
@ -17,7 +17,7 @@ import {ConfirmDialogComponent} from '../../shared/confirm-dialog/confirm-dialog
|
||||
styleUrls: ['./employee-detail.component.css']
|
||||
})
|
||||
export class EmployeeDetailComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('nameElement') nameElement: ElementRef;
|
||||
@ViewChild('nameElement', { static: true }) nameElement: ElementRef;
|
||||
form: FormGroup;
|
||||
costCentres: CostCentre[];
|
||||
item: Employee;
|
||||
|
||||
Reference in New Issue
Block a user