[Glitch] Fix gap insertion for timeline disconnection

Port 575c5753e4 to glitch-soc
lolsob-rspec
Thibaut Girka 2018-05-27 19:34:50 +02:00 committed by ThibG
parent d7aac92316
commit d73c0e14b0
1 changed files with 1 additions and 1 deletions

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: