mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
fix(threshold): remove old threshold properties
This commit is contained in:
parent
bdb8d77562
commit
2639c38912
@ -514,6 +514,12 @@ function (angular, $, _, moment) {
|
||||
panel.thresholds.push(t1);
|
||||
}
|
||||
}
|
||||
|
||||
delete panel.grid.threshold1;
|
||||
delete panel.grid.threshold1Color;
|
||||
delete panel.grid.threshold2;
|
||||
delete panel.grid.threshold2Color;
|
||||
delete panel.grid.thresholdLine;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user