]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/forms/crud-form/crud-form.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / forms / crud-form / crud-form.component.ts
index 9f03ec4a6de8dabb5676d61f39a113b0452c632f..244500478efd36af647d19746aa980c00ff51b64 100644 (file)
@@ -4,7 +4,7 @@ import { DataGatewayService } from '~/app/shared/services/data-gateway.service';
 import { TaskWrapperService } from '~/app/shared/services/task-wrapper.service';
 import { FinishedTask } from '~/app/shared/models/finished-task';
 import { Location } from '@angular/common';
-import { FormGroup } from '@angular/forms';
+import { UntypedFormGroup } from '@angular/forms';
 import { mergeMap } from 'rxjs/operators';
 import { CrudTaskInfo, JsonFormUISchema } from './crud-form.model';
 import { Observable } from 'rxjs';
@@ -20,7 +20,7 @@ export class CrudFormComponent implements OnInit {
   model: any = {};
   resource: string;
   task: { message: string; id: string } = { message: '', id: '' };
-  form = new FormGroup({});
+  form = new UntypedFormGroup({});
   formUISchema$: Observable<JsonFormUISchema>;
   methodType: string;
   urlFormName: string;