Browse Source

[Glitch] Do not crash in getStatusIds when there is a gap in the timeline

Port b1938d7853 to glitch-soc
closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
fbc25bdd2d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/flavours/glitch/features/ui/containers/status_list_container.js

+ 2
- 0
app/javascript/flavours/glitch/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