From 95b2a131599f70eb6ac24a6aa6f2d41efa0e384b Mon Sep 17 00:00:00 2001 From: LianaHus Date: Wed, 29 May 2019 01:20:20 +0200 Subject: [PATCH] added tooltip --- src/app/components/vertical-icons.js | 4 ++-- src/app/panels/tab-proxy.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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`