diff options
author | Renard | 2019-09-16 22:14:39 -0300 |
---|---|---|
committer | Renard | 2019-09-16 22:14:39 -0300 |
commit | 4bd40ee6a423628d9809c33afa86870b8cf4f4fb (patch) | |
tree | f9071a0439be196aac65302af0f85b3edb46447e /src | |
parent | 820fc08f27b95e70395ffb3515aabbec315234b5 (diff) | |
download | bai-client-4bd40ee6a423628d9809c33afa86870b8cf4f4fb.tar.gz bai-client-4bd40ee6a423628d9809c33afa86870b8cf4f4fb.tar.xz bai-client-4bd40ee6a423628d9809c33afa86870b8cf4f4fb.zip |
Mail aƱadido a post
Diffstat (limited to 'src')
-rw-r--r-- | src/Post.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Post.js b/src/Post.js index f3a5e02..db46106 100644 --- a/src/Post.js +++ b/src/Post.js @@ -78,7 +78,10 @@ const Post = ({ index, post, locked, threadId, currentBoard }) => { src={`https://bienvenidoainternet.org/static/ico/${rndAvatar}.gif`} /> <Comment.Content> - <Comment.Author as="a"> + <Comment.Author + as="a" + href={post.mail !== "" ? `mailto:${post.email}` : null} + > #{currentBoard.board_type === 0 ? post.id : index + 1}{" "} <span className={post.email === "sage" ? "username sage" : "username"} |