]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Various UI issues related to CephFS 29272/head
authorVolker Theile <vtheile@suse.com>
Wed, 24 Jul 2019 13:26:03 +0000 (15:26 +0200)
committerVolker Theile <vtheile@suse.com>
Fri, 26 Jul 2019 09:29:41 +0000 (11:29 +0200)
commit2c9533390381651d56492d2b11f662353f3b3a28
treec85d8e0ab64d54dade3ae0be900157dfe5bbbaea
parentd5ed1eaa1ba48c0597903be66a526039e66eac48
mgr/dashboard: Various UI issues related to CephFS

* Check if data is accessible, otherwise set grafanaId to undefined.
* Catch errors in 'Clients' tab and stop loading spinner. Display ViewCacheStatus Exception.
* Render the 'Enabled' column using the checkIcon cell template as other lists do.

Fixes: https://tracker.ceph.com/issues/40925
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.ts