Browse Source

Do not crash in getStatusIds when there is a gap in the timeline (fixes #7400) (#7415)

Fixes a crash occurring when the “gap” disconnection indicator is to be
displayed in a filtered timeline.
pull/4/head
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
b1938d7853
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/mastodon/features/ui/containers/status_list_container.js

+ 2
- 0
app/javascript/mastodon/features/ui/containers/status_list_container.js View File

@ -21,6 +21,8 @@ const makeGetStatusIds = () => createSelector([
}
return statusIds.filter(id => {
if (id === null) return true;
const statusForId = statuses.get(id);
let showStatus = true;

Loading…
Cancel
Save