From 0b78dae20afb108764f5caedabf94f54818d5c07 Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 12 Sep 2019 13:19:22 -0300 Subject: Manejo de hilos cerrados --- src/BBSThread.js | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'src/BBSThread.js') diff --git a/src/BBSThread.js b/src/BBSThread.js index 905628f..dba48df 100644 --- a/src/BBSThread.js +++ b/src/BBSThread.js @@ -57,14 +57,20 @@ class BBSThread extends Component { ); } - const { posts, subject, timestamp, total_replies } = this.state.thread; + const { posts, subject, timestamp, total_replies, locked } = this.state.thread; return (
-
{subject} +
+ + {subject}{locked ? : null} + + + Creado
- {total_replies} respuestas + {total_replies} respuestas
+
@@ -80,17 +86,17 @@ class BBSThread extends Component { {post.file != "" ? - + : null}
- + {locked ? null : + ()} -- cgit v1.2.1-18-gbd029