]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: display devices' health information within a tabset 37784/head
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 17 Sep 2020 12:58:47 +0000 (20:58 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Sun, 25 Oct 2020 01:47:25 +0000 (09:47 +0800)
commit4b69ff7dfd2ff0f35de193671c7f7756f587b228
treecc22d25d870dc90b3b33adaf68a5ecf932fff274
parentb6d6e254979727c5d5ae5386f42bf220a508269a
mgr/dashboard: display devices' health information within a tabset

Wrap all devices' health information within a tabset
instead of displaying them from top to bottom.

Add more guard in the HTML template to prevent referencing undefined
variables.

Fixes: https://tracker.ceph.com/issues/47494
Fixes: https://tracker.ceph.com/issues/43177
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit ba3350c7e8c755d5c84c1a027a3a173191cb898d)

Conflicts:
      src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html
      src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts
      - Use ngx-bootstrap tabset for tabs.
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts