[Glitch] Fix gap insertion for timeline disconnection

Port 66359ec522 to glitch-soc
This commit is contained in:
Thibaut Girka 2018-05-27 19:34:50 +02:00 committed by ThibG
parent 15bef77add
commit 5cc4d34250

View file

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