Sfoglia il codice sorgente

removes uid when using 'save as'

closes #10720
bergquist 8 anni fa
parent
commit
0c98c4db30
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      public/app/features/dashboard/save_as_modal.ts

+ 1 - 0
public/app/features/dashboard/save_as_modal.ts

@@ -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;