From 4731437a6049c860ece7fc13772860df6be98b9e Mon Sep 17 00:00:00 2001
From: Renard
Date: Mon, 23 Sep 2019 11:36:05 -0300
Subject: Ajustes de respuesta rápida
---
src/Post.js | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
(limited to 'src/Post.js')
diff --git a/src/Post.js b/src/Post.js
index 923fea7..ba3f6e8 100644
--- a/src/Post.js
+++ b/src/Post.js
@@ -52,22 +52,19 @@ const ReportModal = ({ trigger, threadId, postId, dir }) => (
);
-const QuickReplyModal = ({ trigger, currentBoard, id, locked }) => (
+const QuickReplyModal = ({ trigger, currentBoard, id, locked, replyIndex }) => (
Respuesta rápida.
-
-
-
-
+
+
-
-
-
);
@@ -238,6 +235,7 @@ const Post = ({ index, post, locked, threadId, currentBoard, nightMode }) => {
currentBoard={currentBoard}
id={post.parentid}
locked={locked}
+ replyIndex={currentBoard.board_type === 0 ? post.id : index + 1}
/>
)}