mirror of
https://github.com/flarum/core.git
synced 2025-07-12 20:36:28 +02:00
always return a promise in PostStream#update
This commit is contained in:
committed by
GitHub
parent
8d2d987680
commit
6ea60248e3
@ -122,7 +122,7 @@ class PostStream extends Component {
|
|||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
update() {
|
update() {
|
||||||
if (!this.viewingEnd) return;
|
if (!this.viewingEnd) return Promise.resolve();
|
||||||
|
|
||||||
this.visibleEnd = this.count();
|
this.visibleEnd = this.count();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user