web: keep `groupsToDisplay` and `groups` indexes in sync to show correct file locations
Created by: valerybugakov
Changes
- Reverted
groupsToDisplay.filter(Boolean)
, which was added during the redesign and causedgroupsToDisplay
indexes to be out of sync withgroups
, that's why some locations were not shown.
Fixes https://github.com/sourcegraph/sourcegraph/issues/22316.