fix unified alerting enabled checks (#40693)

This commit is contained in:
Domas
2021-10-20 15:45:26 +03:00
committed by GitHub
parent 6dbb6408d4
commit 51a152456f
5 changed files with 5 additions and 5 deletions

View File

@@ -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;
}