mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboards: Remove scenes feature toggle (#89771)
This commit is contained in:
@@ -185,6 +185,8 @@ export const DashNav = memo<Props>((props) => {
|
||||
};
|
||||
|
||||
const renderLeftActions = () => {
|
||||
const isDevEnv = config.buildInfo.env === 'development';
|
||||
|
||||
const { dashboard, kioskMode } = props;
|
||||
const { canStar, isStarred } = dashboard.meta;
|
||||
const buttons: ReactNode[] = [];
|
||||
@@ -222,7 +224,7 @@ export const DashNav = memo<Props>((props) => {
|
||||
);
|
||||
}
|
||||
|
||||
if (config.featureToggles.scenes) {
|
||||
if (isDevEnv && config.featureToggles.dashboardScene) {
|
||||
buttons.push(
|
||||
<DashNavButton
|
||||
key="button-scenes"
|
||||
|
||||
Reference in New Issue
Block a user