]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Pool form erasure/replicated boolean
authorStephan Müller <smueller@suse.com>
Mon, 2 Mar 2020 10:39:48 +0000 (11:39 +0100)
committerStephan Müller <smueller@suse.com>
Mon, 9 Mar 2020 11:35:58 +0000 (12:35 +0100)
commitd141b15e329c7898b142e9947aa641c66e0e44ac
treecfc27437bca17ac2e7101a9b80f8fe135a0346b5
parent2ff8540c8117e77f7d690606b484c43dda09e95b
mgr/dashboard: Pool form erasure/replicated boolean

Now a boolean will be set if the pool type is changed. The question
which type is currently set is raised a lot of times inside the pool
form therefor there is a speed advance if it's just a boolean instead of
getting the form control from the form in the first place and than
compare two strings.

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
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts