mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(AvatarGroup): pass default size to max avatar
This commit is contained in:
@@ -56,7 +56,7 @@ export default defineComponent({
|
||||
|
||||
if (max.value !== undefined && index === max.value) {
|
||||
return h(Avatar, {
|
||||
size: props.size,
|
||||
size: props.size || appConfig.ui.avatar.default.size,
|
||||
text: `+${children.value.length - max.value}`,
|
||||
class: twJoin(ui.value.ring, ui.value.margin)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user