From: Stephan Müller Date: Mon, 2 Mar 2020 10:39:48 +0000 (+0100) Subject: mgr/dashboard: Pool form erasure/replicated boolean X-Git-Tag: v15.1.1~39^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d141b15e329c7898b142e9947aa641c66e0e44ac;p=ceph-ci.git 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 --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html index 53602e691cb..61fc7f4d922 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html @@ -65,7 +65,7 @@ -
+