Skip to content

Commit 8eabd78

Browse files
committed
fix(badge): value of 0 is not rendered
1 parent f8d02d9 commit 8eabd78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<span *ngIf="value && !icon" class="igx-badge__value">{{value}}</span>
1+
<span *ngIf="value || value === 0 && !icon" class="igx-badge__value">{{value}}</span>
22
<igx-icon *ngIf="icon && !iconSet">{{icon}}</igx-icon>
33
<igx-icon *ngIf="icon && iconSet" [family]="iconSet" [name]="icon">{{icon}}</igx-icon>
44
<ng-content></ng-content>

0 commit comments

Comments
 (0)