From 7c8cd9cfddb5435c6ce16304ec0e1433c2aa22e7 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 12 Jul 2018 14:05:24 +0800 Subject: [PATCH] Fix the build. --- app/assets/javascripts/discourse/controllers/topic.js.es6 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/topic.js.es6 b/app/assets/javascripts/discourse/controllers/topic.js.es6 index 335143e26ff..763f9708cc7 100644 --- a/app/assets/javascripts/discourse/controllers/topic.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic.js.es6 @@ -618,8 +618,7 @@ export default Ember.Controller.extend(BufferedContent, { }, selectBelow(post) { - const postStream = this.get("model.postStream"); - const stream = [...postStream.get("stream")]; + const stream = [...this.get("model.postStream.stream")]; const below = stream.slice(stream.indexOf(post.id)); this.get("selectedPostIds").pushObjects(below); this.appEvents.trigger("post-stream:refresh", { force: true });