about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-18 01:16:50 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-18 01:16:50 +0200
commitf3e5625d2de0d90545a4ee422311592042a4ded4 (patch)
tree93882a5617c8efd40d91d891a5db1ec940dfeb1c /app/assets/javascripts/components
parentfdd30af59510dbc5ffaabd2f262b9a993b6896c5 (diff)
More debugging
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/components/status.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/components/components/status.jsx b/app/assets/javascripts/components/components/status.jsx
index d3acff3f0..6e4c9651d 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) {