From 6ea60248e3a1760a0cc65366b74aa673f1e6428c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Mart=C3=ADn?= Date: Sun, 18 Mar 2018 20:37:04 -0400 Subject: [PATCH] always return a promise in PostStream#update --- js/forum/src/components/PostStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/PostStream.js b/js/forum/src/components/PostStream.js index 3b27884c4..e88f9adcb 100644 --- a/js/forum/src/components/PostStream.js +++ b/js/forum/src/components/PostStream.js @@ -122,7 +122,7 @@ class PostStream extends Component { * @public */ update() { - if (!this.viewingEnd) return; + if (!this.viewingEnd) return Promise.resolve(); this.visibleEnd = this.count();