]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / prometheus / silence-matcher-modal / silence-matcher-modal.component.ts
index bdd616ce9c60f9de1d8ad8e04854a4389dd1ad6c..2ec8630d122a8a1e4f3ccbde48cc83db35780c14 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, EventEmitter, Output, ViewChild } from '@angular/core';
-import { FormControl, Validators } from '@angular/forms';
+import { UntypedFormControl, Validators } from '@angular/forms';
 
 import { NgbActiveModal, NgbTypeahead } from '@ng-bootstrap/ng-bootstrap';
 import _ from 'lodash';
@@ -66,7 +66,7 @@ export class SilenceMatcherModalComponent {
     this.form = this.formBuilder.group({
       name: [null, [Validators.required]],
       value: [{ value: '', disabled: true }, [Validators.required]],
-      isRegex: new FormControl(false)
+      isRegex: new UntypedFormControl(false)
     });
   }