Browse Source

removes uid when using 'save as'

closes #10720
bergquist 8 năm trước cách đây
mục cha
commit
0c98c4db30
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;