diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 01:34:38 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 01:34:38 +0200 |
commit | 225ce8cfce39e8cfa798b30817cfed931cd0c08e (patch) | |
tree | 70da233892468203aabad7751c249db988bb9a54 | |
parent | ea44d893832b67d9d144ca53125c9aff62f57575 (diff) |
More debugging
-rw-r--r-- | app/assets/javascripts/components/selectors/index.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/selectors/index.jsx b/app/assets/javascripts/components/selectors/index.jsx index cce792606..709bb3e1b 100644 --- a/app/assets/javascripts/components/selectors/index.jsx +++ b/app/assets/javascripts/components/selectors/index.jsx @@ -38,14 +38,14 @@ const assembleStatus = (id, statuses, accounts) => { if (status.get('reblog', null) !== null) { reblog = statuses.get(status.get('reblog'), null); - if (Immutable.Map.isMap(reblog)) { + if (reblog !== null) { reblog = reblog.set('account', accounts.get(reblog.get('account'))); } else { return null; } } - console.log(reblog); + console.log('assembly for status', id, reblog.toJS()); return status.set('reblog', reblog).set('account', accounts.get(status.get('account'))); }; |