diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-12 14:39:18 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-12 14:39:18 +0100 |
commit | 908fcf83c6a2df34769f04c98fbe0edf31f6959f (patch) | |
tree | 97ef60121f186cd037a471fdad25cc8d13f60fc9 /app/assets/javascripts/components/reducers | |
parent | 6d1066fe61984f6e5b226a79bb801aa765453d83 (diff) |
Fix timelines loading bug
Diffstat (limited to 'app/assets/javascripts/components/reducers')
-rw-r--r-- | app/assets/javascripts/components/reducers/timelines.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/timelines.jsx b/app/assets/javascripts/components/reducers/timelines.jsx index de157eb25..b73c83e0f 100644 --- a/app/assets/javascripts/components/reducers/timelines.jsx +++ b/app/assets/javascripts/components/reducers/timelines.jsx @@ -83,7 +83,7 @@ const normalizeTimeline = (state, timeline, statuses, replace = false) => { state = state.setIn([timeline, 'loaded'], true); - return state.updateIn([timeline, 'items'], Immutable.List(), list => (loaded ? list.unshift(...ids) : list.push(...ids))); + return state.updateIn([timeline, 'items'], Immutable.List(), list => (loaded ? list.unshift(...ids) : ids)); }; const appendNormalizedTimeline = (state, timeline, statuses) => { |