Skip to content

Commit

Permalink
HAL-1945: fix notification badge visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
michpetrov committed Nov 23, 2023
1 parent d96c947 commit 0a416ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ public HeaderView(Environment environment, Places places, AccessControl ac, Reso
.add(span()
.css(fontAwesome("bell"))
.style("padding-right: 0"))
.add(badgeIcon = span().css(badge).id(Ids.BADEGE_ICON).element())
.add(badgeIcon = span().css(badge).id(Ids.BADGE_ICON)
.textContent(" ") // badge content can't be empty
.element())
.element()))
.add(li().css(dropdown, hidden).id(Ids.HEADER_EXTENSIONS_DROPDOWN)
.add(a().css(clickable, dropdownToggle)
Expand Down
2 changes: 1 addition & 1 deletion resources/src/main/java/org/jboss/hal/resources/Ids.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface Ids {
String ASSIGNMENT_EXCLUDE = "assignement-exclude";
String ASSIGNMENT_INCLUDE = "assignement-include";
String ATTRIBUTES = "attributes";
String BADEGE_ICON = "badge-icon";
String BADGE_ICON = "badge-icon";
String BOOT_ERRORS_ADDRESS_COLUMN = "boot-errors-address-column";
String BOOT_ERRORS_EMPTY = "boot-errors-empty";
String BOOT_ERRORS_FORM = "boot-errors-form";
Expand Down

0 comments on commit 0a416ae

Please sign in to comment.