mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
* Remove `ngalert` feature toggle * Update frontend Remove all references of ngalert feature toggle * Update docs * Disable unified alerting for specific orgs * Add backend tests * Apply suggestions from code review Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Disabled unified alerting by default * Ensure backward compatibility with old ngalert feature toggle * Apply suggestions from code review Co-authored-by: gotjosh <josue@grafana.com>
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.unifiedAlertingEnabled ? Receivers : NotificationsListPage;
|