Commit 2bc91c86 by Carl Bergquist Committed by GitHub

Merge pull request #10013 from grafana/view-json-template

export view json now templatized, fixes #10001
parents 4a2941dc afd0fc36
...@@ -26,7 +26,7 @@ export class DashExportCtrl { ...@@ -26,7 +26,7 @@ export class DashExportCtrl {
} }
saveJson() { saveJson() {
var clone = this.dashboardSrv.getCurrent().getSaveModelClone(); var clone = this.dash;
this.$scope.$root.appEvent('show-json-editor', { this.$scope.$root.appEvent('show-json-editor', {
object: clone, object: clone,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment