From 3377aa3da2ecbb86986cccfe4189935fbfb36d30 Mon Sep 17 00:00:00 2001 From: David Jay Date: Tue, 21 Feb 2017 14:55:00 -0500 Subject: [PATCH] Displaying DontAgree actions as flags. --- client/coral-embed-stream/src/Comment.js | 3 ++- client/coral-plugin-flags/FlagButton.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-embed-stream/src/Comment.js b/client/coral-embed-stream/src/Comment.js index c2737b275..7d1956bc4 100644 --- a/client/coral-embed-stream/src/Comment.js +++ b/client/coral-embed-stream/src/Comment.js @@ -99,6 +99,7 @@ class Comment extends React.Component { const like = getActionSummary('LikeActionSummary', comment); const flag = getActionSummary('FlagActionSummary', comment); + const dontagree = getActionSummary('DontAgreeActionSummary', comment); return (
{ if (itemType === 'COMMENTS') { - console.log('data', data); this.setState({localPost: data.createDontAgree.dontagree.id}); } });