Commit c3336e6e by Agnès Toulet Committed by GitHub

Chore: clean up Enterprise feature toggles (#28264)

parent f8e0adb1
......@@ -41,8 +41,6 @@ export interface FeatureToggles {
* Available only in Grafana Enterprise
*/
meta: boolean;
datasourceInsights: boolean;
reportGrid: boolean;
}
/**
......
......@@ -55,8 +55,6 @@ export class GrafanaBootConfig implements GrafanaConfig {
live: false,
expressions: false,
meta: false,
datasourceInsights: false,
reportGrid: false,
ngalert: false,
};
licenseInfo: LicenseInfo = {} as LicenseInfo;
......
......@@ -54,15 +54,13 @@ export function buildNavModel(dataSource: DataSourceSettings, plugin: GenericDat
url: `datasources/edit/${dataSource.id}/permissions`,
});
if (config.featureToggles.datasourceInsights) {
navModel.children!.push({
active: false,
icon: 'info-circle',
id: `datasource-insights-${dataSource.id}`,
text: 'Insights',
url: `datasources/edit/${dataSource.id}/insights`,
});
}
navModel.children!.push({
active: false,
icon: 'info-circle',
id: `datasource-insights-${dataSource.id}`,
text: 'Insights',
url: `datasources/edit/${dataSource.id}/insights`,
});
}
return navModel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment