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

Port 8ccc863ae8 to glitch-soc
th-downstream
Thibaut Girka 7 years ago committed by ThibG
parent d73c0e14b0
commit 44e534c1a5

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

Loading…
Cancel
Save