diff --git a/src/app/components/vertical-icons-component.js b/src/app/components/vertical-icons-component.js index 85d4da45c2..2ba596b807 100644 --- a/src/app/components/vertical-icons-component.js +++ b/src/app/components/vertical-icons-component.js @@ -38,7 +38,7 @@ class VerticalIconComponent { if (!api.events) return let fn = this.iconStatus[api.profile.name] if (fn) { - api.events.remove('statusChanged', fn) + api.events.removeListener('statusChanged', fn) delete this.iconStatus[api.profile.name] } }