From 8aeaa997bee166a71ab6863b8a388344b1a77978 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 21 Jul 2025 00:54:46 -0700 Subject: [PATCH] It reverses on server side now --- src/routes/Installs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Installs.tsx b/src/routes/Installs.tsx index 67ca4eb..b45c3d2 100644 --- a/src/routes/Installs.tsx +++ b/src/routes/Installs.tsx @@ -9,7 +9,7 @@ export default function Installs({ downloadProgress, showPopup, setShowPopup, se setSelectedVersionList([]); setVersionList(null) axios.get('https://berrydash.lncvrt.xyz/database/launcher/versions.php') - .then(res => setVersionList(res.data.reverse().filter((d: { platforms: string[] }) => d.platforms.includes(platform())))) + .then(res => setVersionList(res.data.filter((d: { platforms: string[] }) => d.platforms.includes(platform())))) .catch(() => setVersionList([])) }, [showPopup])