removes uid when using 'save as'

closes #10720
This commit is contained in:
bergquist 2018-02-02 10:56:49 +01:00
parent 512f6992f1
commit 0c98c4db30

View File

@ -46,6 +46,7 @@ export class SaveDashboardAsModalCtrl {
var dashboard = this.dashboardSrv.getCurrent();
this.clone = dashboard.getSaveModelClone();
this.clone.id = null;
this.clone.uid = '';
this.clone.title += ' Copy';
this.clone.editable = true;
this.clone.hideControls = false;