fix(threshold): remove old threshold properties

This commit is contained in:
Torkel Ödegaard 2016-08-10 20:44:39 +02:00
parent bdb8d77562
commit 2639c38912

View File

@ -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;
});
}