From 79abc0cf1d12c8522a27a05a81476f746fec794b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Toulet?= <35176601+AgnesToulet@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:12:01 +0200 Subject: [PATCH] Runtime: Make dashboardSceneSolo flag updatable at runtime (#92290) Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime --- 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 ad37ef63f28..f92f4023bf0 100644 --- a/packages/grafana-runtime/src/config.ts +++ b/packages/grafana-runtime/src/config.ts @@ -269,7 +269,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) => {