mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Snapshots: Remove dashboard links from snapshots (#35567)
This commit is contained in:
parent
a328afd631
commit
4907d09ffe
@ -118,6 +118,9 @@ export class ShareSnapshot extends PureComponent<Props, State> {
|
|||||||
// make relative times absolute
|
// make relative times absolute
|
||||||
dash.time = getTimeSrv().timeRange();
|
dash.time = getTimeSrv().timeRange();
|
||||||
|
|
||||||
|
// Remove links
|
||||||
|
dash.links = [];
|
||||||
|
|
||||||
// remove panel queries & links
|
// remove panel queries & links
|
||||||
dash.panels.forEach((panel) => {
|
dash.panels.forEach((panel) => {
|
||||||
panel.targets = [];
|
panel.targets = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user