]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Dashboard should display some helpful (error) message when the iframe... 47008/head
authorNgwa Sedrick Meh <nsedrick101@gmail.com>
Mon, 14 Feb 2022 05:17:47 +0000 (06:17 +0100)
committerNizamudeen A <nia@redhat.com>
Thu, 7 Jul 2022 14:17:08 +0000 (19:47 +0530)
commit6fb312396f053930a9d8eebf53124e0386c2fc01
treed66ea860e0e1bffbf9caa1cb60529d8e2508f542
parent9180a3427046497c668f6435cd34855285b01e31
mgr/dashboard: Dashboard should display some helpful (error) message when the iframe-embedded Grafana dashboard failed to load

This commit adds checks for successful grafana panel loads before displaying dashboards and informs the user if the request is blocked by the browser
Fixes: https://tracker.ceph.com/issues/54206
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
(cherry picked from commit a4b66efb2a2139bd88a6a088af9bd5e079e46105)
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts