mirror of https://github.com/grafana/grafana
Alerting: Remove react-enable (#77955)
parent
36dba7584d
commit
323ee7c38c
|
@ -1,21 +0,0 @@ |
|||||||
import { FeatureDescription } from 'react-enable/dist/FeatureState'; |
|
||||||
|
|
||||||
import { config } from '@grafana/runtime'; |
|
||||||
|
|
||||||
export enum AlertingFeature { |
|
||||||
NotificationPoliciesV2MatchingInstances = 'notification-policies.v2.matching-instances', |
|
||||||
DetailsViewV2 = 'details-view.v2', |
|
||||||
ContactPointsV2 = 'contact-points.v2', |
|
||||||
} |
|
||||||
|
|
||||||
const FEATURES: FeatureDescription[] = [ |
|
||||||
{ |
|
||||||
name: AlertingFeature.NotificationPoliciesV2MatchingInstances, |
|
||||||
defaultValue: config.featureToggles.alertingNotificationsPoliciesMatchingInstances, |
|
||||||
}, |
|
||||||
{ |
|
||||||
name: AlertingFeature.DetailsViewV2, |
|
||||||
defaultValue: false, |
|
||||||
}, |
|
||||||
]; |
|
||||||
export default FEATURES; |
|
Loading…
Reference in new issue