about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-27 19:34:50 +0200
committerThibG <thib@sitedethib.com>2018-05-29 21:25:28 +0200
commit5cc4d34250cade3ad3951907f7e772c95e066a51 (patch)
tree090bc2ae96c594837318a0032701547e6031bd64 /app/javascript
parent15bef77adda8b146f27d9b6da0a5d18a39add983 (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.js2
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: