From b6391a8ec5b2a45aba7dd42f637049ba450ca0a5 Mon Sep 17 00:00:00 2001 From: denihs Date: Tue, 10 Sep 2024 13:52:33 -0400 Subject: [PATCH] Add shouldGoTo link inside the mapped links in the docs --- v3-docs/docs/components/scripts/map-maker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v3-docs/docs/components/scripts/map-maker.js b/v3-docs/docs/components/scripts/map-maker.js index 0222a49303..656166e7c1 100644 --- a/v3-docs/docs/components/scripts/map-maker.js +++ b/v3-docs/docs/components/scripts/map-maker.js @@ -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) => {