Browse Source

More debugging

closed-social-v3
Eugen Rochko 8 years ago
parent
commit
ea44d89383
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/reducers/timelines.jsx
  2. +2
    -0
      app/assets/javascripts/components/selectors/index.jsx

+ 1
- 1
app/assets/javascripts/components/reducers/timelines.jsx View File

@ -48,7 +48,7 @@ function normalizeStatus(state, status) {
status = status.set('account', account.get('id'));
// Separate reblog, repeat for reblog
let reblog = status.get('reblog');
let reblog = status.get('reblog', null);
if (reblog !== null) {
status = status.set('reblog', reblog.get('id'));

+ 2
- 0
app/assets/javascripts/components/selectors/index.jsx View File

@ -45,6 +45,8 @@ const assembleStatus = (id, statuses, accounts) => {
}
}
console.log(reblog);
return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
};

Loading…
Cancel
Save