pull/1/head
LianaHus 5 years ago
parent 105e2b154a
commit cf854ccdc6
  1. 3
      src/app/components/hidden-panel.js
  2. 4
      src/app/components/main-panel.js
  3. 2
      src/app/components/panel.js
  4. 6
      src/app/components/side-panel.js
  5. 2
      src/app/ui/txLogger.js

@ -13,7 +13,8 @@ const profile = {
name: 'hiddenPanel',
displayName: 'Hidden Panel',
description: '',
version: packageJson.version
version: packageJson.version,
methods: {}
}
export class HiddenPanel extends AbstractPanel {

@ -20,8 +20,8 @@ const profile = {
}
export class MainPanel extends AbstractPanel {
constructor (options) {
super(profile, options)
constructor () {
super(profile)
}
render () {

@ -28,7 +28,7 @@ const css = csjs`
/** Abstract class used for hosting the view of a plugin */
export class AbstractPanel extends HostPlugin {
constructor (profile, opts) {
constructor (profile) {
super(profile)
this.events = new EventEmitter()
this.contents = {}

@ -48,10 +48,6 @@ const css = csjs`
}
`
const options = {
default: true
}
const sidePanel = {
name: 'sidePanel',
displayName: 'Side Panel',
@ -64,7 +60,7 @@ const sidePanel = {
export class SidePanel extends AbstractPanel {
constructor (appManager, verticalIcons) {
super(sidePanel, options)
super(sidePanel)
this.appManager = appManager
this.header = this.renderHeader()
this.verticalIcons = verticalIcons

@ -125,7 +125,7 @@ class TxLogger {
}
return false
}
this.eventsDecoder = globalRegistry.get('teventsDecoder').api
this.eventsDecoder = globalRegistry.get('eventsDecoder').api
this.txListener = globalRegistry.get('txListener').api
this.terminal = terminal
// dependencies

Loading…
Cancel
Save