Procházet zdrojové kódy

Remove datasource names in panels from snapshots

Torkel Ödegaard před 10 roky
rodič
revize
aa724fc11e

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

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