mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
8 lines
305 B
TypeScript
8 lines
305 B
TypeScript
|
import { config } from '@grafana/runtime';
|
||
|
import NotificationsListPage from './NotificationsListPage';
|
||
|
import Receivers from './unified/Receivers';
|
||
|
|
||
|
// route between unified and "old" alerting pages based on feature flag
|
||
|
|
||
|
export default config.featureToggles.ngalert ? Receivers : NotificationsListPage;
|