Snapshots: Remove dashboard links from snapshots (#35567)

This commit is contained in:
Torkel Ödegaard 2021-06-11 17:42:42 +02:00 committed by GitHub
parent a328afd631
commit 4907d09ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,9 @@ export class ShareSnapshot extends PureComponent<Props, State> {
// make relative times absolute
dash.time = getTimeSrv().timeRange();
// Remove links
dash.links = [];
// remove panel queries & links
dash.panels.forEach((panel) => {
panel.targets = [];