From f3e5625d2de0d90545a4ee422311592042a4ded4 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 18 Oct 2016 01:16:50 +0200 Subject: [PATCH] More debugging --- app/assets/javascripts/components/components/status.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/components/components/status.jsx b/app/assets/javascripts/components/components/status.jsx index d3acff3f0c0..6e4c9651d8d 100644 --- a/app/assets/javascripts/components/components/status.jsx +++ b/app/assets/javascripts/components/components/status.jsx @@ -41,11 +41,12 @@ const Status = React.createClass({ }, render () { - var media = ''; + let media = ''; + let { status, ...other } = this.props; - var { status, ...other } = this.props; + if (status.get('reblog', null) !== null) { + console.log(status.get('id'), status.get('reblog')); - if (status.get('reblog') !== null) { let displayName = status.getIn(['account', 'display_name']); if (displayName.length === 0) {