diff --git a/web-common/src/features/dashboards/workspace/Dashboard.svelte b/web-common/src/features/dashboards/workspace/Dashboard.svelte index 4b641c6c945..5787cd86193 100644 --- a/web-common/src/features/dashboards/workspace/Dashboard.svelte +++ b/web-common/src/features/dashboards/workspace/Dashboard.svelte @@ -28,6 +28,8 @@ export let metricViewName: string; export let leftMargin = undefined; + const { cloudDataViewer } = featureFlags; + let exploreContainerWidth; $: metricsExplorer = useDashboardStore(metricViewName); @@ -154,7 +156,7 @@ {/if} - {#if isRillDeveloper && !expandedMeasureName && !showPivot} + {#if (isRillDeveloper || $cloudDataViewer) && !expandedMeasureName && !showPivot} {/if} {/if} diff --git a/web-common/src/features/feature-flags.ts b/web-common/src/features/feature-flags.ts index ca72679ca21..062acafc37f 100644 --- a/web-common/src/features/feature-flags.ts +++ b/web-common/src/features/feature-flags.ts @@ -16,6 +16,7 @@ const flags = { pivot: features?.includes("pivot") || false, alerts: features?.includes("alerts") || false, ai: true, + cloudDataViewer: features?.includes("data-viewer") || false, }; export type FeatureFlags = typeof flags;