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

Fixes: https://tracker.ceph.com/issues/44985
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts

index a6ad22f05cb5ae7735f64c3c99add4e4eb247b2b..8acfd4924bb1342953c9e42b03045d3bd6489e0f 100644 (file)
@@ -107,11 +107,9 @@ export class OsdFormComponent extends CdForm 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(