Browse Source

Remove datasource names in panels from snapshots

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
aa724fc11e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 = [];