diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-05-05 07:54:56 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-05 00:54:56 +0200 |
commit | 66359ec522e687020ea853652ad36d4476f2720d (patch) | |
tree | bedda368373b6bef3efc05532a1d3ea90ba04a24 | |
parent | c73ce7b695aef1bbfe36bf674173d5a9fb988df5 (diff) |
Fix gap insertion for timeline disconnection (#7363)
-rw-r--r-- | app/javascript/mastodon/reducers/timelines.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/reducers/timelines.js b/app/javascript/mastodon/reducers/timelines.js index dd675d78f..b09d78b0f 100644 --- a/app/javascript/mastodon/reducers/timelines.js +++ b/app/javascript/mastodon/reducers/timelines.js @@ -134,7 +134,7 @@ export default function timelines(state = initialState, action) { initialTimeline, map => map.update( 'items', - items => items.first() ? items : items.unshift(null) + items => items.first() ? items.unshift(null) : items ) ); default: |