]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Hide ECP actions during ec pool edit
authorStephan Müller <smueller@suse.com>
Mon, 2 Mar 2020 10:48:17 +0000 (11:48 +0100)
committerStephan Müller <smueller@suse.com>
Mon, 9 Mar 2020 11:35:58 +0000 (12:35 +0100)
commite1c514aea2e1a12526329e3b6f3db55d9d9cdd17
tree5b6f79962138d94d1b77bc60ccd2071fae7f3683
parentd141b15e329c7898b142e9947aa641c66e0e44ac
mgr/dashboard: Hide ECP actions during ec pool edit

Hides erasure profile actions during erasure pool edit, as all
actions are disabled anyway as they can't be used in edit mode.

This commit makes also sure that the used crush rule will be shown
during edit of an erasure pool and no crush rule selection is shown
during creation of an erasure code pool, as in most cases a new crush
rule will be created for the ec pool.

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