Просмотр исходного кода

removes uid when using 'save as'

closes #10720
bergquist 8 лет назад
Родитель
Сommit
0c98c4db30
1 измененных файлов с 1 добавлено и 0 удалено
  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;