Explorar o código

Remove datasource names in panels from snapshots

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

+ 1 - 0
public/app/features/dashboard/shareSnapshotCtrl.js

@@ -86,6 +86,7 @@ function (angular, _) {
       dash.forEachPanel(function(panel) {
         panel.targets = [];
         panel.links = [];
+        panel.datasource = null;
       });
       // remove annotations
       dash.annotations.list = [];