[Glitch] Fix gap insertion for timeline disconnection

Port 66359ec522 to glitch-soc
signup-info-prompt
Thibaut Girka 2018-05-27 19:34:50 +02:00 committed by ThibG
parent 15bef77add
commit 5cc4d34250
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,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: