mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 00:18:02 -04:00
FIX: Suppression below was broken
This commit is contained in:
parent
05377c62de
commit
b5b1178f3a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default createWidget('post-stream', {
|
||||||
continue;
|
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);
|
const transformed = transformPost(this.currentUser, this.site, post, prevPost, nextPost);
|
||||||
transformed.canCreatePost = attrs.canCreatePost;
|
transformed.canCreatePost = attrs.canCreatePost;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue