]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Hide name of ECP in detail view 35925/head
authorStephan Müller <smueller@suse.com>
Tue, 12 May 2020 14:47:24 +0000 (16:47 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 3 Jul 2020 15:45:26 +0000 (17:45 +0200)
As showing the name of an erasure code profile is pretty redundant
beneath the selection of the ECP by name, it's hidden.

It's also amended in order to have an equal behavior with the crush
rule detail view.

Fixes: https://tracker.ceph.com/issues/44620
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit 1fca23796a199d254b5aa577a41a0703b48d2d99)

src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html

index 10c0a114aa64cca0331f78fe5174ae41ccc35e59..7f0b57bfbf9e5e930e7a1046651f21c2fd399890 100644 (file)
                        heading="Profile"
                        class="ecp-info">
                     <cd-table-key-value [renderObjects]="true"
+                                        [hideKeys]="['name']"
                                         [data]="form.getValue('erasureProfile')"
                                         [autoReload]="false">
                     </cd-table-key-value>