Render discussion hero badges properly

This commit is contained in:
Toby Zerner 2015-07-20 18:10:21 +09:30
parent c287d40072
commit 741b9b0ea5

View File

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