mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 01:29:29 +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) {
|
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) {
|
parseResults(results) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user