1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 22:38:42 +09:00

Fix gap insertion for timeline disconnection (#7363)

This commit is contained in:
Akihiko Odaki 2018-05-05 07:54:56 +09:00 committed by Eugen Rochko
parent c73ce7b695
commit 66359ec522

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: