pull/1857/head
bunsenstraat 3 years ago
parent ad0f0b4ebb
commit 7bda0908f7
  1. 2
      apps/remix-ide/src/app/components/panel.ts
  2. 2
      apps/remix-ide/src/app/components/side-panel.tsx
  3. 2
      apps/remix-ide/src/app/components/vertical-icons.js

@ -43,7 +43,7 @@ export class AbstractPanel extends HostPlugin {
removeView (profile) {
this.emit('pluginDisabled', profile.name)
this.verticalIcons.unlinkContent(profile)
this.call('menuicons', 'unlinkContent', profile)
this.remove(profile.name)
}

@ -65,7 +65,7 @@ export class SidePanel extends AbstractPanel {
removeView (profile) {
super.removeView(profile)
this.emit('pluginDisabled', profile.name)
this.verticalIcons.unlinkContent(profile)
this.call('menuicons', 'unlinkContent', profile)
this.renderComponent()
}

@ -15,7 +15,7 @@ const profile = {
displayName: 'Vertical Icons',
description: '',
version: packageJson.version,
methods: ['select']
methods: ['select', 'unlinkContent']
}
// TODO merge with side-panel.js. VerticalIcons should not be a plugin

Loading…
Cancel
Save