aboutsummaryrefslogtreecommitdiff
path: root/src/Post.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 16:41:39 -0300
committerLibravatar Renard 2019-09-16 16:41:39 -0300
commit1b4db364d46d72f7ef7fa14d3291e087327854ff (patch)
treec54576c5dd1ce30838e287147c5e6cb95c93b982 /src/Post.js
parent6a1d09aede3440a367ff575212eef97232f4369d (diff)
downloadbai-client-1b4db364d46d72f7ef7fa14d3291e087327854ff.tar.gz
bai-client-1b4db364d46d72f7ef7fa14d3291e087327854ff.tar.xz
bai-client-1b4db364d46d72f7ef7fa14d3291e087327854ff.zip
Quitar acción responder si hilo está cerrado
Diffstat (limited to 'src/Post.js')
-rw-r--r--src/Post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Post.js b/src/Post.js
index 162afca..6fd0653 100644
--- a/src/Post.js
+++ b/src/Post.js
@@ -109,7 +109,7 @@ const Post = ({ index, post, locked, threadId, currentBoard }) => {
/>
</Comment.Text>
<Comment.Actions>
- <Comment.Action>Responder</Comment.Action>
+ {locked ? null : <Comment.Action>Responder</Comment.Action>}
<Comment.Action>Reportar</Comment.Action>
</Comment.Actions>
</Comment.Content>