Skip to content

Commit ea19f34

Browse files
authored
FIX: stream should come from args instead of this (#138)
The `follow-post-stream` needs to get the stream from `this.args` instead of `this` directly. This becomes more relevant when we merge: discourse/discourse#30604, which uses a Glimmer component, which makes it more strict and requires the distinction between `this.stream` and `@stream`. We will also follow-up in a PR after the above core PR is merged to apply the `PostList` component instead of using `follow-feed-post` which uses the `user-stream` component. No tests, as it's a minor change and our follow-up PR will change this area once again very soon.
1 parent 46318ce commit ea19f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{{#each this.stream.content as |post|}}
1+
{{#each @stream.content as |post|}}
22
{{follow-feed-post post=post}}
33
{{/each}}

0 commit comments

Comments
 (0)