Przeglądaj źródła

fix: remove unused code

Marcus Efraimsson 8 lat temu
rodzic
commit
281e519fab
1 zmienionych plików z 0 dodań i 1 usunięć
  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',