mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 16:24:02 +08: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
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.unifiedAlertingEnabled ? PanelAlertTabContent : AlertTab;
|