Skip to content

Commit

Permalink
fix(1478): add empty check before rendering number indicator in sideb…
Browse files Browse the repository at this point in the history
…ar item
  • Loading branch information
akashyeole committed Sep 19, 2024
1 parent 16508d9 commit 42c17c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class SidebarItem {
</span>
}

{!this.isExpandable && !this.isNested &&
{!this.numberIndicator !== undefined && !this.isExpandable && !this.isNested &&
<span class='item__number-indicator'>
<ifx-number-indicator>{this.numberIndicator}</ifx-number-indicator>
</span>}
Expand Down

0 comments on commit 42c17c4

Please sign in to comment.