fixes
This commit is contained in:
parent
9495bc3f75
commit
3495292384
|
@ -154,7 +154,7 @@ class OwnerTag {
|
|||
let renderChildren = e.returnvalue.props.children;
|
||||
e.returnvalue.props.children = () => {
|
||||
let renderedChildren = renderChildren(e.instance);
|
||||
this.injectOwnerTag(BDFDB.ReactUtils.getValue(e.returnvalue, renderedChildren.props.children), user, usertype, 2, e.instance.props.isCompact ? BDFDB.disCN.bottagmessagecompact : BDFDB.disCN.bottagmessagecozy);
|
||||
this.injectOwnerTag(renderedChildren.props.children), user, usertype, 2, e.instance.props.isCompact ? BDFDB.disCN.bottagmessagecompact : BDFDB.disCN.bottagmessagecozy);
|
||||
return renderedChildren;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ class TopRoleEverywhere {
|
|||
let renderChildren = e.returnvalue.props.children;
|
||||
e.returnvalue.props.children = () => {
|
||||
let renderedChildren = renderChildren(e.instance);
|
||||
this.injectRoleTag(BDFDB.ReactUtils.getValue(e.returnvalue, renderedChildren.props.children, user, "chat", e.instance.props.isCompact ? BDFDB.disCN.bottagmessagecompact : BDFDB.disCN.bottagmessagecozy);
|
||||
this.injectRoleTag(renderedChildren.props.children, user, "chat", e.instance.props.isCompact ? BDFDB.disCN.bottagmessagecompact : BDFDB.disCN.bottagmessagecozy);
|
||||
return renderedChildren;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue