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

pull/11457/head
Alexey Velikiy 7 years ago committed by Torkel Ödegaard
parent 13deb891f3
commit 00f67ea7c7
  1. 4
      public/app/features/alerting/threshold_mapper.ts

@ -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') {

Loading…
Cancel
Save