Fix the build.
This commit is contained in:
parent
29eb9dda59
commit
7c8cd9cfdd
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue