]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Unset any compression setting for pools in UI
authorStephan Müller <smueller@suse.com>
Fri, 21 Sep 2018 08:08:19 +0000 (10:08 +0200)
committerStephan Müller <smueller@suse.com>
Tue, 9 Oct 2018 14:13:43 +0000 (16:13 +0200)
commitce341cfba931468fb64ee069817832c5dee5eee3
treee336367a313e2565fcd68cfa3a4252002653c014
parent8e56421bcdaa38ca6a45a80294a363f2e73f0d43
mgr/dashboard: Unset any compression setting for pools in UI

The dashboard API now can delete all compression options if the
compression mode is set to 'unset' during edit. Other dismissed options
will be overwritten with the reset value on submit, which will cause
the deletion of the previously set settings.

Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form-info.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts