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:
@@ -12,7 +12,7 @@ export class ThresholdFormCtrl {
|
||||
$onInit() {
|
||||
this.panel = this.panelCtrl.panel;
|
||||
|
||||
if (this.panel.alert && !config.featureToggles.ngalert) {
|
||||
if (this.panel.alert && !config.unifiedAlertingEnabled) {
|
||||
this.disabled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user