From 2a88694fd3ced0335bf3726cc5d0adc2d1858855 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:46:52 +0200 Subject: [PATCH] [v11.2.x] Runtime: Make dashboardSceneSolo flag updatable at runtime (#92487) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Runtime: Make dashboardSceneSolo flag updatable at runtime (#92290) Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime (cherry picked from commit 79abc0cf1d12c8522a27a05a81476f746fec794b) Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com> --- packages/grafana-runtime/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-runtime/src/config.ts b/packages/grafana-runtime/src/config.ts index b2bc145eacf..34c96f522aa 100644 --- a/packages/grafana-runtime/src/config.ts +++ b/packages/grafana-runtime/src/config.ts @@ -263,7 +263,7 @@ function overrideFeatureTogglesFromUrl(config: GrafanaBootConfig) { // Although most flags can not be changed from the URL in production, // some of them are safe (and useful!) to change dynamically from the browser URL - const safeRuntimeFeatureFlags = new Set(['queryServiceFromUI']); + const safeRuntimeFeatureFlags = new Set(['queryServiceFromUI', 'dashboardSceneSolo']); const params = new URLSearchParams(window.location.search); params.forEach((value, key) => {