mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 02:03:45 +08: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;
|
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…
Reference in New Issue
Block a user