diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-05-27 19:34:50 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-05-29 21:25:28 +0200 |
commit | 5cc4d34250cade3ad3951907f7e772c95e066a51 (patch) | |
tree | 090bc2ae96c594837318a0032701547e6031bd64 /app/javascript | |
parent | 15bef77adda8b146f27d9b6da0a5d18a39add983 (diff) |
[Glitch] Fix gap insertion for timeline disconnection
Port 66359ec522e687020ea853652ad36d4476f2720d to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/timelines.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/reducers/timelines.js b/app/javascript/flavours/glitch/reducers/timelines.js index 178d60af2..19e400b19 100644 --- a/app/javascript/flavours/glitch/reducers/timelines.js +++ b/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: |