Explorar o código

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

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
0a59d6ab2f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      public/app/features/dashboard/unsavedChangesSrv.js

+ 3 - 0
public/app/features/dashboard/unsavedChangesSrv.js

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