mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 01:26:06 +08:00
Render discussion hero badges properly
This commit is contained in:
parent
c287d40072
commit
741b9b0ea5
|
@ -31,7 +31,7 @@ export default class DiscussionHero extends Component {
|
|||
const badges = discussion.badges().toArray();
|
||||
|
||||
if (badges.length) {
|
||||
items.add('badges', <ul className="DiscussionHero-badges">{listItems(badges)}</ul>);
|
||||
items.add('badges', <ul className="DiscussionHero-badges badges">{listItems(badges)}</ul>);
|
||||
}
|
||||
|
||||
items.add('title', <h2 className="DiscussionHero-title">{discussion.title()}</h2>);
|
||||
|
|
Loading…
Reference in New Issue
Block a user