Commit e29a5136 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'dohtaset' into 'master'

Fix charts on Cluster page

See merge request gitlab-org/gitlab-ce!30073
parents 50b69083 e1ff11db
......@@ -8,10 +8,12 @@ export default (props = {}) => {
const el = document.getElementById('prometheus-graphs');
if (el && el.dataset) {
store.dispatch('monitoringDashboard/setFeatureFlags', {
prometheusEndpointEnabled: gon.features.environmentMetricsUsePrometheusEndpoint,
multipleDashboardsEnabled: gon.features.environmentMetricsShowMultipleDashboards,
});
if (gon.features) {
store.dispatch('monitoringDashboard/setFeatureFlags', {
prometheusEndpointEnabled: gon.features.environmentMetricsUsePrometheusEndpoint,
multipleDashboardsEnabled: gon.features.environmentMetricsShowMultipleDashboards,
});
}
const [currentDashboard] = getParameterValues('dashboard');
......
---
title: Fix charts on Cluster health page
merge_request: 30073
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment