diff --git a/src/app/components/vertical-icons.js b/src/app/components/vertical-icons.js index 32a96b7500..53b3a35186 100644 --- a/src/app/components/vertical-icons.js +++ b/src/app/components/vertical-icons.js @@ -10,7 +10,7 @@ export class VerticalIcons { constructor (name, appStore, homeProfile) { this.store = appStore - this.homeProfile = homeProfile + this.homeProfile = homeProfile.profile this.events = new EventEmitter() this.icons = {} this.iconKind = {} @@ -74,7 +74,7 @@ export class VerticalIcons { * @param {ModuleProfile} profile The profile of the module */ addIcon ({kind, name, icon, displayName, tooltip}) { - let title = (displayName || name)// + (tooltip ? tooltip : "") + let title = (tooltip || displayName || name) this.icons[name] = yo`