Make sure active discussion is highlighted

This commit is contained in:
Toby Zerner 2015-08-26 11:02:12 +09:30
parent e123ad52a9
commit e2bb399db9

View File

@ -130,7 +130,7 @@ export default class DiscussionListItem extends Component {
* @return {Boolean}
*/
active() {
return m.route.param('id') === this.props.discussion.id();
return m.route.param('id').split('-')[0] === this.props.discussion.id();
}
/**