]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: update grafana api url when switching cluster
authorNizamudeen A <nia@redhat.com>
Tue, 19 Mar 2024 15:09:09 +0000 (20:39 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 22 Mar 2024 09:09:29 +0000 (14:39 +0530)
commit93974820ceb58bdde12074f2b9ab750696f51a51
tree9befb2c53cafe86ea3e306a655fff9af8ce47823
parent625e312e86f28cf6d85704689b1cf1d0631c4336
mgr/dashboard: update grafana api url when switching cluster

do a force refresh on the settings service so it picks up the new api
url of grafana

Fixes: https://tracker.ceph.com/issues/65052
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/settings.service.ts