Expose reporting-enabled flag to frontend (#46753)

This commit is contained in:
Jesse Weaver
2022-03-22 14:30:45 -06:00
committed by GitHub
parent 4a568769e7
commit 560fc9812d
2 changed files with 6 additions and 0 deletions

View File

@@ -107,6 +107,9 @@ export class GrafanaBootConfig implements GrafanaConfig {
featureHighlights = {
enabled: false,
};
reporting = {
enabled: true,
};
constructor(options: GrafanaBootConfig) {
const mode = options.bootData.user.lightTheme ? 'light' : 'dark';