mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 13:56:36 +08:00
parent
76d6442557
commit
95b021a839
|
@ -5,6 +5,7 @@ import avatar from '../../common/helpers/avatar';
|
|||
import username from '../../common/helpers/username';
|
||||
import DiscussionControls from '../utils/DiscussionControls';
|
||||
import ComposerPostPreview from './ComposerPostPreview';
|
||||
import listItems from '../../common/helpers/listItems';
|
||||
|
||||
/**
|
||||
* The `ReplyPlaceholder` component displays a placeholder for a reply, which,
|
||||
|
@ -25,6 +26,7 @@ export default class ReplyPlaceholder extends Component {
|
|||
{avatar(app.session.user, { className: 'PostUser-avatar' })}
|
||||
{username(app.session.user)}
|
||||
</h3>
|
||||
<ul className="PostUser-badges badges">{listItems(app.session.user.badges().toArray())}</ul>
|
||||
</div>
|
||||
</header>
|
||||
<ComposerPostPreview className="Post-body" composer={app.composer} surround={this.anchorPreview.bind(this)} />
|
||||
|
|
Loading…
Reference in New Issue
Block a user