Skip to content

Commit

Permalink
fix(platform): setting generator allow rendering avatar if only label…
Browse files Browse the repository at this point in the history
… is passed (#11860)
  • Loading branch information
droshev committed May 7, 2024
1 parent 721fc49 commit 3f887e5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
@if (_iconConfig && _iconConfig.glyph) {
<fd-icon [glyph]="_iconConfig.glyph" [ariaLabel]="_iconConfig.ariaLabel" [font]="_iconConfig.font"></fd-icon>
}
@if (_avatarConfig && (_avatarConfig.image || _avatarConfig.glyph || _avatarConfig.zoomGlyph)) {
@if (
_avatarConfig && (_avatarConfig.image || _avatarConfig.glyph || _avatarConfig.zoomGlyph || _avatarConfig.label)
) {
<fd-avatar
[size]="_avatarConfig.size"
[glyph]="_avatarConfig.glyph"
Expand Down

0 comments on commit 3f887e5

Please sign in to comment.