mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
8 lines
282 B
TypeScript
8 lines
282 B
TypeScript
import { config } from '@grafana/runtime';
|
|
import { RuleList } from './unified/RuleList';
|
|
import AlertRuleList from './AlertRuleList';
|
|
|
|
// route between unified and "old" alerting pages based on feature flag
|
|
|
|
export default config.featureToggles.ngalert ? RuleList : AlertRuleList;
|