From f68db07a9d5803c7b8881dbcb2f6fa4c6da47f73 Mon Sep 17 00:00:00 2001
From: Renard
Date: Fri, 13 Sep 2019 11:53:00 -0300
Subject: Manejo de posts eliminados
---
src/BBSThread.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
(limited to 'src/BBSThread.js')
diff --git a/src/BBSThread.js b/src/BBSThread.js
index 025f258..e54588b 100644
--- a/src/BBSThread.js
+++ b/src/BBSThread.js
@@ -1,5 +1,5 @@
import React, { Component } from "react";
-import { Header, Icon, Loader, Message } from "semantic-ui-react";
+import { Header, Icon, Loader, Message, Segment } from "semantic-ui-react";
import Moment from "react-moment";
import "moment/locale/es";
import Post from "./Post";
@@ -76,7 +76,11 @@ class BBSThread extends Component {
{posts.map((post, index) =>
post.IS_DELETED === 0 ?
- () : null)
+ () :
+ (
+ #{index} Eliminado
+ )
+ )
}
API Link
--
cgit v1.2.1-18-gbd029