@@ -2,7 +2,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { AuthenticationService } from '../../../core/authentication/authentication.service';
|
||||
@@ -36,7 +36,7 @@ export class NotesTabComponent implements OnInit {
|
||||
noteForm: FormGroup;
|
||||
|
||||
/** Note Form Reference */
|
||||
@ViewChild('formRef') formRef: any;
|
||||
@ViewChild('formRef', { static: true }) formRef: any;
|
||||
|
||||
/**
|
||||
* Fetches notes data from `resolve`
|
||||
|
||||
Reference in New Issue
Block a user