mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:12:46 +08:00
Redraw discussion list items if user marks all as read
This commit is contained in:
parent
b3623449c8
commit
652e41a235
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user