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 8913ccb434
commit 575c5753e4

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: