From b55b7cde4bd13546e8b4d430de28d9529789f37b Mon Sep 17 00:00:00 2001 From: bergquist Date: Tue, 30 Aug 2016 13:36:13 +0200 Subject: [PATCH] fix(alerting): remove error message when model is valid again closes #5921 --- public/app/features/alerting/alert_tab_ctrl.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/features/alerting/alert_tab_ctrl.ts b/public/app/features/alerting/alert_tab_ctrl.ts index 0c42c2dbe7e..546aee776a7 100644 --- a/public/app/features/alerting/alert_tab_ctrl.ts +++ b/public/app/features/alerting/alert_tab_ctrl.ts @@ -208,6 +208,8 @@ export class AlertTabCtrl { this.error = 'Currently the alerting backend only supports Graphite queries'; } else if (this.templateSrv.variableExists(foundTarget.target)) { this.error = 'Template variables are not supported in alert queries'; + } else { + this.error = ''; } }); }