mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: clean up Enterprise feature toggles (#28264)
This commit is contained in:
parent
f8e0adb168
commit
c3336e6ecf
@ -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,7 +54,6 @@ 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',
|
||||
@ -63,7 +62,6 @@ export function buildNavModel(dataSource: DataSourceSettings, plugin: GenericDat
|
||||
url: `datasources/edit/${dataSource.id}/insights`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return navModel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user