Browse Source

Fix gap insertion for timeline disconnection (#7363)

pull/4/head
Akihiko Odaki 6 years ago
committed by Eugen Rochko
parent
commit
66359ec522
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/reducers/timelines.js

+ 1
- 1
app/javascript/mastodon/reducers/timelines.js View File

@ -134,7 +134,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