From 281e519fab16a66da50b09ba48954995d5e234eb Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Fri, 22 Dec 2017 10:26:01 +0100 Subject: [PATCH] fix: remove unused code --- public/app/features/panel/panel_ctrl.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/public/app/features/panel/panel_ctrl.ts b/public/app/features/panel/panel_ctrl.ts index 47d48af0fa2..1cf4681515c 100644 --- a/public/app/features/panel/panel_ctrl.ts +++ b/public/app/features/panel/panel_ctrl.ts @@ -271,7 +271,6 @@ export class PanelCtrl { let editScope = this.$scope.$root.$new(); editScope.object = this.panel.getSaveModel(); editScope.updateHandler = this.replacePanel.bind(this); - editScope.enableCopy = true; this.publishAppEvent('show-modal', { src: 'public/app/partials/edit_json.html',