From edefe0fcaf1648ef3cc12dd06224f126145ed2ef Mon Sep 17 00:00:00 2001 From: Alex Stephen Date: Fri, 18 Oct 2024 11:42:23 -0700 Subject: [PATCH] lets not send to redirect link --- scripts/src/sidebar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/sidebar.ts b/scripts/src/sidebar.ts index 99ad353..836822b 100644 --- a/scripts/src/sidebar.ts +++ b/scripts/src/sidebar.ts @@ -27,7 +27,7 @@ function buildSidebar(aeps: AEP[], groups: any, sidebar: Sidebar): Sidebar { for (var group of groups.categories) { response.push({ 'label': group.title, - 'items': aeps.filter((aep) => aep.category == group.code).sort((a1, a2) => a1.id > a2.id ? 1 : -1).map((aep) => ({label: `${aep.id}. ${aep.title}`, link: aep.slug})) + 'items': aeps.filter((aep) => aep.category == group.code).sort((a1, a2) => a1.id > a2.id ? 1 : -1).map((aep) => ({label: `${aep.id}. ${aep.title}`, link: aep.id.toString()})) }) }