fix(threshold): remove old threshold properties

pull/5890/head
Torkel Ödegaard 9 years ago
parent bdb8d77562
commit 2639c38912
  1. 6
      public/app/features/dashboard/dashboardSrv.js

@ -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…
Cancel
Save