rm panel.type constrain from threshold_mapper.ts (#11448)

This commit is contained in:
Alexey Velikiy
2018-04-02 09:13:22 +03:00
committed by Torkel Ödegaard
parent 13deb891f3
commit 00f67ea7c7

View File

@@ -1,9 +1,5 @@
export class ThresholdMapper {
static alertToGraphThresholds(panel) {
if (panel.type !== 'graph') {
return false;
}
for (var i = 0; i < panel.alert.conditions.length; i++) {
let condition = panel.alert.conditions[i];
if (condition.type !== 'query') {