Skip to content

Commit

Permalink
Merge pull request meteor#13315 from meteor/fix/docs-api-search
Browse files Browse the repository at this point in the history
Fix Meteor docs API search
  • Loading branch information
denihs authored Sep 3, 2024
2 parents 38e9d9a + 9729d49 commit fa45160
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions v3-docs/docs/components/scripts/map-maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ export function filterMap(filter, apiList) {
const newLinks = {};
for (const key in apiList[api]) {
const links = apiList[api][key];
// We get the shouldGoTo link here as well.
// In this case we just skip it
if (!Array.isArray(links)) {
continue;
}
const newLinksArray = links.filter((link) => {
return link.toLowerCase().includes(filter.toLowerCase());
});
Expand Down

0 comments on commit fa45160

Please sign in to comment.