stuff
This commit is contained in:
parent
89945afb8f
commit
2d5fdb1753
|
@ -9946,9 +9946,9 @@
|
|||
if (BDFDB.ReactUtils.isValidElement(avatar) && BDFDB.ObjectUtils.is(user)) {
|
||||
let role = "", className = avatar.props.className;
|
||||
if (avatar.type == "img") avatar = BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.AvatarComponents.default, Object.assign({}, avatar.props, {
|
||||
className: "",
|
||||
size: BDFDB.LibraryComponents.AvatarComponents.Sizes.SIZE_40
|
||||
}));
|
||||
delete avatar.props.className;
|
||||
avatar = BDFDB.ReactUtils.createElement("div", {
|
||||
className: className,
|
||||
style: {borderRadius: 0},
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue