From 575c5753e4218e822b11ac8773711246e85c1f60 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Sat, 5 May 2018 07:54:56 +0900 Subject: [PATCH] Fix gap insertion for timeline disconnection (#7363) --- app/javascript/mastodon/reducers/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/reducers/timelines.js b/app/javascript/mastodon/reducers/timelines.js index dd675d78fb..b09d78b0fb 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: