]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / config-option / config-option.component.ts
index 2ac8e569adf7227d5b356cc2e982c15f4c0a6dc6..89d7f310fe081bd95acdbb9c954a644cc5779952 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, Input, OnInit } from '@angular/core';
-import { FormControl, NgForm } from '@angular/forms';
+import { UntypedFormControl, NgForm } from '@angular/forms';
 
 import _ from 'lodash';
 
@@ -48,7 +48,7 @@ export class ConfigOptionComponent implements OnInit {
   private createForm() {
     this.optionsForm.addControl(this.optionsFormGroupName, this.optionsFormGroup);
     this.optionNames.forEach((optionName) => {
-      this.optionsFormGroup.addControl(optionName, new FormControl(null));
+      this.optionsFormGroup.addControl(optionName, new UntypedFormControl(null));
     });
   }