]> cat aescling's git repositories - mastodon.git/commitdiff
More debugging
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 17 Oct 2016 23:16:50 +0000 (01:16 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 17 Oct 2016 23:16:50 +0000 (01:16 +0200)
app/assets/javascripts/components/components/status.jsx

index d3acff3f0c064f88b4d88205abb547a505e1f5bc..6e4c9651d8d78ca5970cf877ae1fa890a1f760bf 100644 (file)
@@ -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) {