mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Suppression below was broken
This commit is contained in:
parent
05377c62de
commit
b5b1178f3a
@ -28,7 +28,7 @@ export default createWidget('post-stream', {
|
||||
continue;
|
||||
}
|
||||
|
||||
const nextPost = (i < postArray.length - 1) ? postArray[i+i] : null;
|
||||
const nextPost = (i < postArray.length - 1) ? postArray[i+1] : null;
|
||||
|
||||
const transformed = transformPost(this.currentUser, this.site, post, prevPost, nextPost);
|
||||
transformed.canCreatePost = attrs.canCreatePost;
|
||||
|
Loading…
Reference in New Issue
Block a user