Change VerticalIconsComponent to VerticalIcons

pull/3094/head
Grandschtroumpf 6 years ago
parent 25226e81bd
commit ef28b617fa
  1. 6
      src/app/components/vertical-icons.js

@ -6,7 +6,7 @@ let globalRegistry = require('../../global/registry')
const EventEmitter = require('events')
// Component
class VerticalIconComponent {
class VerticalIcon {
constructor (name, appStore, homeProfile) {
this.store = appStore
@ -78,7 +78,7 @@ class VerticalIconComponent {
this.icons[name] = yo`
<div
class="${css.icon}"
onclick="${(e) => { this._iconClick(name) }}"
onclick="${() => { this._iconClick(name) }}"
plugin="${name}" title="${title}" >
<img class="image" src="${icon}" alt="${name}" />
</div>`
@ -359,7 +359,7 @@ class VerticalIconComponent {
}
}
module.exports = VerticalIconComponent
module.exports = VerticalIcon
const css = csjs`
.homeIcon {
Loading…
Cancel
Save