Upgrade/angular 14 (#1853)
* Fix Loan product Payment Allocation * Upgrade to Angular 14 --------- Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
2dab3b70ca
commit
80936a3ea9
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
@@ -29,7 +29,7 @@ export class EditHookComponent implements OnInit {
|
||||
/** Hook Data. */
|
||||
hookData: any;
|
||||
/** Hook Form. */
|
||||
hookForm: FormGroup;
|
||||
hookForm: UntypedFormGroup;
|
||||
/** Columns to be displayed in events table. */
|
||||
displayedColumns: string[] = ['entityName', 'actionName', 'actions'];
|
||||
/** Data source for events table. */
|
||||
@@ -52,7 +52,7 @@ export class EditHookComponent implements OnInit {
|
||||
constructor(private route: ActivatedRoute,
|
||||
private systemService: SystemService,
|
||||
private router: Router,
|
||||
private formBuilder: FormBuilder,
|
||||
private formBuilder: UntypedFormBuilder,
|
||||
private dialog: MatDialog) {
|
||||
this.route.data.subscribe(( data: { hooksTemplate: any, hook: any }) => {
|
||||
this.hooksTemplateData = data.hooksTemplate;
|
||||
|
||||
Reference in New Issue
Block a user