]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard_v2: Fix cephfs template table usage 20804/head
authorStephan Müller <smueller@suse.com>
Thu, 8 Mar 2018 14:35:39 +0000 (15:35 +0100)
committerStephan Müller <smueller@suse.com>
Fri, 9 Mar 2018 13:30:27 +0000 (14:30 +0100)
The option 'toolHeader' wasn't recognized by the table directive.
So it showed the wrong behavior showing the tool bar of the table.

Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/cephfs/cephfs/cephfs.component.html

index 2333f770b66ad3e51a93c55865b729c311eb5704..f995117b6f94afc16c893e0cfbbe997d504dea50 100644 (file)
@@ -26,7 +26,7 @@
       <cd-table [data]="ranks.data"
                 [columns]="ranks.columns"
                 (fetchData)="refresh()"
-                toolHeader="false">
+                [toolHeader]="false">
       </cd-table>
     </fieldset>
 
@@ -40,7 +40,7 @@
 
       <cd-table [data]="pools.data"
                 [columns]="pools.columns"
-                toolHeader="false">
+                [toolHeader]="false">
       </cd-table>
 
     </fieldset>