Skip to content

Commit

Permalink
PluginsList: Remove unused panel options (#24501)
Browse files Browse the repository at this point in the history
* Remove unused panel options

* satisfy ts
  • Loading branch information
dprokop committed May 11, 2020
1 parent f13a15a commit 2e69b86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
40 changes: 0 additions & 40 deletions public/app/plugins/panel/pluginlist/editor.html

This file was deleted.

6 changes: 0 additions & 6 deletions public/app/plugins/panel/pluginlist/module.ts
@@ -1,7 +1,6 @@
import _ from 'lodash';
import { PanelCtrl } from '../../../features/panel/panel_ctrl';
import { auto, IScope } from 'angular';
import { PanelEvents } from '@grafana/data';
import { ContextSrv } from '../../../core/services/context_srv';
import { CoreEvents } from 'app/types';
import { getBackendSrv } from '@grafana/runtime';
Expand All @@ -25,7 +24,6 @@ class PluginListCtrl extends PanelCtrl {
_.defaults(this.panel, this.panelDefaults);

this.isAdmin = contextSrv.hasRole('Admin');
this.events.on(PanelEvents.editModeInitialized, this.onInitEditMode.bind(this));
this.pluginList = [];
this.viewModel = [
{ header: 'Installed Apps', list: [], type: 'app' },
Expand All @@ -36,10 +34,6 @@ class PluginListCtrl extends PanelCtrl {
this.update();
}

onInitEditMode() {
this.addEditorTab('Options', 'public/app/plugins/panel/pluginlist/editor.html');
}

gotoPlugin(plugin: { id: any }, evt: any) {
if (evt) {
evt.stopPropagation();
Expand Down

0 comments on commit 2e69b86

Please sign in to comment.