mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #13342 from meteor/fix/add-shouldgoto-link-inside-filter-map
Fix Docs - Add shouldGoTo link inside the mapped links
This commit is contained in:
@@ -131,8 +131,9 @@ export function filterMap(filter, apiList) {
|
||||
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
|
||||
// In this case we just added it and continue
|
||||
if (!Array.isArray(links)) {
|
||||
newLinks[key] = links;
|
||||
continue;
|
||||
}
|
||||
const newLinksArray = links.filter((link) => {
|
||||
|
||||
Reference in New Issue
Block a user