]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: CephFS client tab switch
authorStephan Müller <smueller@suse.com>
Thu, 8 Aug 2019 13:43:07 +0000 (15:43 +0200)
committerStephan Müller <smueller@suse.com>
Thu, 8 Aug 2019 14:11:36 +0000 (16:11 +0200)
The problem was that it was not possible to click on the clients tab
inside the CephFS details and switch to it. This commit fixes this.

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

index f8a5217f9746b477831d8d8602c89ce65bae213c..d469bc4365e1d3fee6f6559ade928db8a834e4ef 100644 (file)
     </div>
   </tab>
   <tab i18n-heading
-       heading="Clients: {{ clientCount }}"
-       (selectTab)="clientsSelect=true"
-       (deselect)="clientsSelect=false">
-    <cd-cephfs-clients [id]="id"
-                       *ngIf="clientsSelect">
+       heading="Clients: {{ clientCount }}">
+    <cd-cephfs-clients [id]="id">
     </cd-cephfs-clients>
   </tab>
   <tab i18n-heading
index f98e9bc3703cef866a13371cc955cc6cdfcab085..be5086004fecbf9d8c1a47f92869f6526ff63195 100644 (file)
@@ -37,7 +37,6 @@ export class CephfsDetailComponent implements OnChanges, OnInit {
   grafanaPermission: Permission;
 
   objectValues = Object.values;
-  clientsSelect = false;
 
   constructor(
     private authStorageService: AuthStorageService,