ui: add features (#504)

This commit is contained in:
panda authored and GitHub committed 2023-02-07 22:46:50 +08:00
1 parent b84a6426dd
commit 37ac2f80f7
9 files changed
+52 -4

No files matched your search

@@ -90,9 +90,19 @@ export default connect(mapStateToProps)(class MessagePadDialogueContentContainer
render() {
return (
<ol className="messagepad__content" ref="list">
{this.renderInner()}
</ol>
<>
<div className="messagepad__header">
{ this.props.item
&& (
<a className="messagepad__content__header__title" href={`/user/${this.props.item.udoc._id}`}>
{`${this.props.item.udoc.uname}(UID: ${this.props.item.udoc._id})`}
</a>
)}
</div>
<ol className="messagepad__content" ref="list">
{this.renderInner()}
</ol>
</>
);
}
});