diff options
author | Renard | 2019-09-15 21:37:33 -0300 |
---|---|---|
committer | Renard | 2019-09-15 21:37:33 -0300 |
commit | c643e5a6a4d2e97d8986245898b84f32e91c70c1 (patch) | |
tree | 9215bb4572cd56a0f885151af75d306683a75ba5 /src/Thread.js | |
parent | 9ac9b9805779a504c9904bb6e81b579cfdb79c28 (diff) | |
download | bai-client-c643e5a6a4d2e97d8986245898b84f32e91c70c1.tar.gz bai-client-c643e5a6a4d2e97d8986245898b84f32e91c70c1.tar.xz bai-client-c643e5a6a4d2e97d8986245898b84f32e91c70c1.zip |
Manejo de post eliminados
Diffstat (limited to 'src/Thread.js')
-rw-r--r-- | src/Thread.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Thread.js b/src/Thread.js index eb9d63a..be73903 100644 --- a/src/Thread.js +++ b/src/Thread.js @@ -76,11 +76,7 @@ class Thread extends Component { <Comment.Group> {posts.map((post, index) => - post.IS_DELETED === 0 ? - (<Post key={index} index={index} post={post} locked={locked} dir={this.props.dir} threadId={id} />) : - (<Segment secondary> - #{index} Eliminado <Moment fromNow unix locale="es" date={post.timestamp} /> - </Segment>) + <Post key={index} index={index} post={post} locked={locked} dir={this.props.dir} threadId={id} /> ) } </Comment.Group> |