mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
8 lines
307 B
TypeScript
8 lines
307 B
TypeScript
import { config } from '@grafana/runtime';
|
|
import { AlertTab } from './AlertTab';
|
|
import { PanelAlertTabContent } from './unified/PanelAlertTabContent';
|
|
|
|
// route between unified and "old" alerting pages based on feature flag
|
|
|
|
export default config.featureToggles.ngalert ? PanelAlertTabContent : AlertTab;
|