Alerting: New feature toggle for enabling standalone alerts (#25984)

* Add feature toggle for standalone alerts

* Add IsStandaloneAlertsEnabled exported func
This commit is contained in:
Sofia Papagiannaki
2020-07-13 18:04:42 +03:00
committed by GitHub
parent c5bdea5cec
commit 20b603ee1a
4 changed files with 8 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ export interface FeatureToggles {
meta: boolean;
datasourceInsights: boolean;
reportGrid: boolean;
standaloneAlerts: boolean;
}
/**

View File

@@ -55,6 +55,7 @@ export class GrafanaBootConfig implements GrafanaConfig {
meta: false,
datasourceInsights: false,
reportGrid: false,
standaloneAlerts: false,
};
licenseInfo: LicenseInfo = {} as LicenseInfo;
rendererAvailable = false;