From 0c98c4db306fe31b7ddb5dd3844a7a540881debe Mon Sep 17 00:00:00 2001 From: bergquist Date: Fri, 2 Feb 2018 10:56:49 +0100 Subject: [PATCH] removes uid when using 'save as' closes #10720 --- public/app/features/dashboard/save_as_modal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/save_as_modal.ts b/public/app/features/dashboard/save_as_modal.ts index 04b029cbb4c..15a3ce5dba7 100644 --- a/public/app/features/dashboard/save_as_modal.ts +++ b/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;