Commit 281e519f by Marcus Efraimsson

fix: remove unused code

parent 68457f56
...@@ -271,7 +271,6 @@ export class PanelCtrl { ...@@ -271,7 +271,6 @@ export class PanelCtrl {
let editScope = this.$scope.$root.$new(); let editScope = this.$scope.$root.$new();
editScope.object = this.panel.getSaveModel(); editScope.object = this.panel.getSaveModel();
editScope.updateHandler = this.replacePanel.bind(this); editScope.updateHandler = this.replacePanel.bind(this);
editScope.enableCopy = true;
this.publishAppEvent('show-modal', { this.publishAppEvent('show-modal', {
src: 'public/app/partials/edit_json.html', src: 'public/app/partials/edit_json.html',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment