1
0
Fork 0
forked from fedi/mastodon

Fix gap insertion for timeline disconnection (#7363)

This commit is contained in:
Akihiko Odaki 2018-05-05 07:54:56 +09:00 committed by Eugen Rochko
parent c73ce7b695
commit 66359ec522

View file

@ -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: