Redraw discussion list items if user marks all as read

This commit is contained in:
Toby Zerner 2015-05-26 18:01:05 +09:30
parent b3623449c8
commit 652e41a235

View File

@ -79,7 +79,10 @@ export default class DiscussionList extends Component {
}
initSubtree(discussion) {
this.subtrees[discussion.id()] = new SubtreeRetainer(() => discussion.freshness);
this.subtrees[discussion.id()] = new SubtreeRetainer(
() => discussion.freshness,
() => app.session.user() && app.session.user().readTime()
);
}
parseResults(results) {