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