fix(repeat panel): fix for unwanted unsaved changes warnings when using repeat panel, #2364

This commit is contained in:
Torkel Ödegaard
2015-07-18 10:14:21 +02:00
parent 9bf9bb0273
commit 0a59d6ab2f
@@ -80,6 +80,9 @@ function(angular, _) {
// remove scopedVars
panel.scopedVars = null;
// ignore span changes
panel.span = null;
// ignore panel legend sort
if (panel.legend) {
delete panel.legend.sort;