diff --git a/src/app/components/vertical-icons-component.js b/src/app/components/vertical-icons-component.js index e78ee4025c..18999371a6 100644 --- a/src/app/components/vertical-icons-component.js +++ b/src/app/components/vertical-icons-component.js @@ -16,11 +16,11 @@ class VerticalIconComponent { this.icons = {} this.store.event.on('activate', (name) => { - let item = this.store.get(name) + const item = this.store.get(name) if (item && item.profile.icon && name !== 'code editor') this.addIcon(item.profile) }) this.store.event.on('deactivate', (name) => { - let item = this.store.get(name) + const item = this.store.get(name) if (item && this.icons[name]) this.removeIcon(item.profile) }) this.store.event.on('add', (name) => { })