Skip to content

A platform for community discussion. Free, open, simple.

Fix the build.

Guo Xiang Tan7c8cd9cfddb5
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 });