Commit ff324b19 authored by Grandschtroumpf's avatar Grandschtroumpf

Change VerticalIconsComponent to VerticalIcons

parent c189363e
...@@ -6,7 +6,7 @@ let globalRegistry = require('../../global/registry') ...@@ -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 { ...@@ -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 { ...@@ -359,7 +359,7 @@ class VerticalIconComponent {
} }
} }
module.exports = VerticalIconComponent module.exports = VerticalIcon
const css = csjs` const css = csjs`
.homeIcon { .homeIcon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment