From aa724fc11e1ffe2c79532149fea9e9f293b2c598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 31 Mar 2015 10:48:14 +0200 Subject: [PATCH] Remove datasource names in panels from snapshots --- public/app/features/dashboard/shareSnapshotCtrl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/shareSnapshotCtrl.js b/public/app/features/dashboard/shareSnapshotCtrl.js index eba1e6e6ac7..17a313b2b64 100644 --- a/public/app/features/dashboard/shareSnapshotCtrl.js +++ b/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 = [];