mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(alerting): remove error message when model is valid again
closes #5921
This commit is contained in:
@@ -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 = '';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user