This commit is contained in:
Mirco Wittrien 2020-07-20 12:07:28 +02:00
parent 89945afb8f
commit 2d5fdb1753
2 changed files with 2 additions and 2 deletions

View File

@ -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