Commit 0c98c4db by bergquist

removes uid when using 'save as'

closes #10720
parent 512f6992
...@@ -46,6 +46,7 @@ export class SaveDashboardAsModalCtrl { ...@@ -46,6 +46,7 @@ export class SaveDashboardAsModalCtrl {
var dashboard = this.dashboardSrv.getCurrent(); var dashboard = this.dashboardSrv.getCurrent();
this.clone = dashboard.getSaveModelClone(); this.clone = dashboard.getSaveModelClone();
this.clone.id = null; this.clone.id = null;
this.clone.uid = '';
this.clone.title += ' Copy'; this.clone.title += ' Copy';
this.clone.editable = true; this.clone.editable = true;
this.clone.hideControls = false; this.clone.hideControls = false;
......
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