From f06a788e19196a289a1cba458c975dd95879fa2b 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 d3acff3f0c..6e4c9651d8 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) {