Skip to content

Commit

Permalink
remove tooltip 'normal' for icon of objects(MID-7017)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jul 12, 2021
1 parent 07d1b87 commit e1abdb1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ public static <T extends ObjectType> String getIconColumnTitle(T object, Operati
} else if (type.equals(UserType.class)) {
String iconClass = object != null ? WebComponentUtil.createUserIcon(object.asPrismContainer()) : null;
String compareStringValue = GuiStyleConstants.CLASS_OBJECT_USER_ICON + " " + GuiStyleConstants.CLASS_ICON_STYLE;
String compareStringValueNormal = GuiStyleConstants.CLASS_OBJECT_USER_ICON + " " + GuiStyleConstants.CLASS_ICON_STYLE_NORMAL;
String titleValue = "";
if (iconClass.equals(compareStringValueNormal)) {
return "";
}
if (iconClass != null &&
iconClass.startsWith(compareStringValue) &&
iconClass.length() > compareStringValue.length()) {
Expand Down

0 comments on commit e1abdb1

Please sign in to comment.