@@ -62,7 +64,7 @@ const Post = ({ index, post, locked, dir, threadId }) => {
/>
- #{index + 1}{" "}
+ #{currentBoard.board_type === 0 ? post.id : index + 1}{" "}
@@ -86,12 +88,12 @@ const Post = ({ index, post, locked, dir, threadId }) => {
{post.file !== "" ? (
}
/>
@@ -100,7 +102,9 @@ const Post = ({ index, post, locked, dir, threadId }) => {
) : null}
diff --git a/src/Thread.js b/src/Thread.js
index e4694b7..058f0b5 100644
--- a/src/Thread.js
+++ b/src/Thread.js
@@ -167,7 +167,7 @@ class Thread extends Component {
index={index}
post={post}
locked={locked}
- dir={this.props.dir}
+ currentBoard={currentBoard}
threadId={id}
/>
))}
--
cgit v1.2.1-18-gbd029