Fix gap insertion for timeline disconnection (#7363)

main
Akihiko Odaki 2018-05-05 07:54:56 +09:00 committed by Eugen Rochko
parent c73ce7b695
commit 66359ec522
1 changed files with 1 additions and 1 deletions

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: