From: Tiago Melo Date: Thu, 4 Jun 2020 10:29:51 +0000 (+0000) Subject: mgr/dashboard: Fix CephFS's Directories not showing X-Git-Tag: v16.1.0~2116^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F35381%2Fhead;p=ceph.git 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 --- 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;