From 80de4fe797020dcdbfbf6591e35b1a3d36b0f8e8 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 --- framework/core/js/forum/src/components/PostStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/PostStream.js b/framework/core/js/forum/src/components/PostStream.js index 3b27884c4..e88f9adcb 100644 --- a/framework/core/js/forum/src/components/PostStream.js +++ b/framework/core/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();