]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix wal/db slots controls in the OSD form 35883/head
authorKiefer Chang <kiefer.chang@suse.com>
Mon, 15 Jun 2020 07:16:57 +0000 (15:16 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Thu, 2 Jul 2020 03:32:05 +0000 (11:32 +0800)
Controls should be updated immediately after changing.

Fixes: https://tracker.ceph.com/issues/44985
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit 2a7b392d873f224e71c50d2916dbd1a63e4360f9)

src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts

index e6be9f0ea5c9f92aadc365d0bb8c8b286a59ef51..a4eddc43a263e12c74dc133457839644ab2d14bf 100644 (file)
@@ -104,11 +104,9 @@ export class OsdFormComponent implements OnInit {
   createForm() {
     this.form = new CdFormGroup({
       walSlots: new FormControl(0, {
-        updateOn: 'blur',
         validators: [Validators.min(0)]
       }),
       dbSlots: new FormControl(0, {
-        updateOn: 'blur',
         validators: [Validators.min(0)]
       }),
       features: new CdFormGroup(