mirror of
https://github.com/flarum/framework.git
synced 2025-05-02 01:24:03 +08:00
always return a promise in PostStream#update
This commit is contained in:
parent
8d2d987680
commit
6ea60248e3
@ -122,7 +122,7 @@ class PostStream extends Component {
|
||||
* @public
|
||||
*/
|
||||
update() {
|
||||
if (!this.viewingEnd) return;
|
||||
if (!this.viewingEnd) return Promise.resolve();
|
||||
|
||||
this.visibleEnd = this.count();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user