always return a promise in PostStream#update

This commit is contained in:
David Sevilla Martín 2018-03-18 20:37:04 -04:00 committed by GitHub
parent 92cb3b9166
commit 80de4fe797

View File

@ -122,7 +122,7 @@ class PostStream extends Component {
* @public
*/
update() {
if (!this.viewingEnd) return;
if (!this.viewingEnd) return Promise.resolve();
this.visibleEnd = this.count();