fix: page top is rendering empty avatar icon if no avatar props are sent (#19638)
This commit is contained in:
parent
f708cdcf50
commit
3526355e23
|
@ -37,7 +37,8 @@
|
||||||
[{:keys [title title-accessibility-label input counter-top counter-bottom
|
[{:keys [title title-accessibility-label input counter-top counter-bottom
|
||||||
title-right title-right-props]
|
title-right title-right-props]
|
||||||
avatar-props :avatar}]
|
avatar-props :avatar}]
|
||||||
(let [avatar-props (assoc avatar-props :size :size-32)
|
(let [avatar-props (when avatar-props
|
||||||
|
(assoc avatar-props :size :size-32))
|
||||||
title-props (assoc title-right-props
|
title-props (assoc title-right-props
|
||||||
:title title
|
:title title
|
||||||
:right title-right
|
:right title-right
|
||||||
|
|
Loading…
Reference in New Issue