Fix the build.
This commit is contained in:
parent
29eb9dda59
commit
7c8cd9cfdd
|
@ -618,8 +618,7 @@ export default Ember.Controller.extend(BufferedContent, {
|
||||||
},
|
},
|
||||||
|
|
||||||
selectBelow(post) {
|
selectBelow(post) {
|
||||||
const postStream = this.get("model.postStream");
|
const stream = [...this.get("model.postStream.stream")];
|
||||||
const stream = [...postStream.get("stream")];
|
|
||||||
const below = stream.slice(stream.indexOf(post.id));
|
const below = stream.slice(stream.indexOf(post.id));
|
||||||
this.get("selectedPostIds").pushObjects(below);
|
this.get("selectedPostIds").pushObjects(below);
|
||||||
this.appEvents.trigger("post-stream:refresh", { force: true });
|
this.appEvents.trigger("post-stream:refresh", { force: true });
|
||||||
|
|
Loading…
Reference in New Issue