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, initialTimeline,
map => map.update( map => map.update(
'items', 'items',
items => items.first() ? items : items.unshift(null) items => items.first() ? items.unshift(null) : items
) )
); );
default: default: