From 356034b23b330efb0d33b75025f62e185971ceb8 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Thu, 4 Jun 2020 10:29:51 +0000 Subject: [PATCH] mgr/dashboard: Fix CephFS's Directories not showing This is a regretion introduced in fdd8ec8ca9e38bc0cf9a7b31f232b0322b46782a. We no longer need to check if a tab is selected to load the content. In that commit we removed the logic that updated the conditional variable, but missed removing its use. Fixes: https://tracker.ceph.com/issues/45877 Signed-off-by: Tiago Melo --- .../app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html | 4 +--- .../src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html index 1dd6b4304751..cc1f8226ed73 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html @@ -27,9 +27,7 @@ Directories - - +
  • diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts index 454922c00a0e..3a24dec2ec90 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts @@ -37,9 +37,6 @@ export class CephfsTabsComponent implements OnChanges, OnDestroy { name: '' }; - // Directories - directoriesSelected = false; - private data: any; private reloadSubscriber: Subscription; -- 2.47.3