mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
rm panel.type constrain from threshold_mapper.ts (#11448)
This commit is contained in:
committed by
Torkel Ödegaard
parent
13deb891f3
commit
00f67ea7c7
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user