[Glitch] Fix gap insertion for timeline disconnection

Port 66359ec522 to glitch-soc
master
Thibaut Girka 7 years ago committed by ThibG
parent 15bef77add
commit 5cc4d34250
  1. 2
      app/javascript/flavours/glitch/reducers/timelines.js

@ -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:

Loading…
Cancel
Save