From 344ad082c9609bd9923e6df3e921ddc59eafd572 Mon Sep 17 00:00:00 2001 From: Rem0o Date: Thu, 14 Mar 2024 12:42:02 -0400 Subject: [PATCH] Update downloadModal.tsx --- src/reactComponents/downloadModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactComponents/downloadModal.tsx b/src/reactComponents/downloadModal.tsx index 01c369e..14b7a6c 100644 --- a/src/reactComponents/downloadModal.tsx +++ b/src/reactComponents/downloadModal.tsx @@ -43,8 +43,8 @@ function GetDownloadable( return { name, url: asset.browser_download_url, type: "unknown" }; } - var splittedName = name.split("_").filter(x => x != props.version.toString()); - // fc, version, net, major, minor + var splittedName = name.split("_"); + // fc_version_net_major_minor const [fc, version, net, major, minor] = splittedName; const dotnetString = major == "4" ? ".NET Framework" : ".NET";