[v11.2.x] Runtime: Make dashboardSceneSolo flag updatable at runtime (#92487)
Runtime: Make dashboardSceneSolo flag updatable at runtime (#92290)
Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime
(cherry picked from commit 79abc0cf1d)
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
co-authored by
Agnès Toulet
parent
a7867bd1c1
commit
2a88694fd3
@@ -263,7 +263,7 @@ function overrideFeatureTogglesFromUrl(config: GrafanaBootConfig) {
|
|||||||
|
|
||||||
// Although most flags can not be changed from the URL in production,
|
// 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
|
// 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);
|
const params = new URLSearchParams(window.location.search);
|
||||||
params.forEach((value, key) => {
|
params.forEach((value, key) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user