]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / mirroring / pool-edit-mode-modal / pool-edit-mode-modal.component.ts
index ef30c888c8ba6207be4ff0a0ec9f2756d3d477fc..9b462874c1d4c12a2b64e89150a4b5ee932826df 100644 (file)
@@ -1,6 +1,6 @@
 import { Location } from '@angular/common';
 import { Component, OnDestroy, OnInit } from '@angular/core';
-import { AbstractControl, FormControl, Validators } from '@angular/forms';
+import { AbstractControl, UntypedFormControl, Validators } from '@angular/forms';
 import { ActivatedRoute } from '@angular/router';
 
 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
@@ -51,7 +51,7 @@ export class PoolEditModeModalComponent implements OnInit, OnDestroy {
 
   createForm() {
     this.editModeForm = new CdFormGroup({
-      mirrorMode: new FormControl('', {
+      mirrorMode: new UntypedFormControl('', {
         validators: [Validators.required, this.validateMode.bind(this)]
       })
     });