From c8350ad569dbf923cf7f252181c94151c57d7287 Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 12 Sep 2019 13:22:43 -0300 Subject: Reply index --- src/BBSThread.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BBSThread.js b/src/BBSThread.js index dba48df..dd00a72 100644 --- a/src/BBSThread.js +++ b/src/BBSThread.js @@ -74,11 +74,11 @@ class BBSThread extends Component { - {posts.map(post => + {posts.map((post, index) => post.IS_DELETED === 0 ? (
- {post.name} + #{index + 1} {post.name} -- cgit v1.2.1-18-gbd029