mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix unified alerting enabled checks (#40693)
This commit is contained in:
@@ -31,7 +31,7 @@ class DashboardQueryRunnerImpl implements DashboardQueryRunner {
|
||||
private readonly dashboard: DashboardModel,
|
||||
private readonly timeSrv: TimeSrv = getTimeSrv(),
|
||||
private readonly workers: DashboardQueryRunnerWorker[] = [
|
||||
config.featureToggles.ngalert ? new UnifiedAlertStatesWorker() : new AlertStatesWorker(),
|
||||
config.unifiedAlertingEnabled ? new UnifiedAlertStatesWorker() : new AlertStatesWorker(),
|
||||
new SnapshotWorker(),
|
||||
new AnnotationsWorker(),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user