瀏覽代碼

fix: remove unused code

Marcus Efraimsson 8 年之前
父節點
當前提交
281e519fab
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      public/app/features/panel/panel_ctrl.ts

+ 0 - 1
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',