Explorar o código

removes uid when using 'save as'

closes #10720
bergquist %!s(int64=8) %!d(string=hai) anos
pai
achega
0c98c4db30
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;