diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index aaac465..6a304a3 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -597,81 +597,93 @@ export default function RootLayout ({
Select a game to download
- {serverVersionList?.games.map((v, i) => (
-
-
{v.name}
-
-
-
- {(() => {
- const data = getVersionsAmountData(v.id)
- if (!data) return 'N/A'
- return `${data.installed}/${data.total}`
- })()}{' '}
- versions installed
-
-
-
-
-
{
+ const data = getVersionsAmountData(v.id)
+ if (!data) return false
+ if (data.total > 0) return true
+ })
+ .map((v, i) => (
+
+
{v.name}
+
+
+
+ {(() => {
+ const data = getVersionsAmountData(
+ v.id
+ )
+ if (!data) return 'N/A'
+ return `${data.installed}/${data.total}`
+ })()}{' '}
+ versions installed
+
+
+
+
-
- {v.verified ? 'Verified' : 'Unverified'}
-
+ >
+
+
+ {v.verified ? 'Verified' : 'Unverified'}
+
+
+
+
+
Developer: {v.developer}
+
+ setSelectedGame(v.id)}
+ title={`Click to download specific versions of the game. You have ${(() => {
+ const data = getVersionsAmountData(v.id)
+ if (!data) return 'N/A'
+ return `${data.installed} of ${data.total}`
+ })()} versions downloaded.`}
+ >
+ <>
+ {' '}
+ Download
+ >
+
-
-
-
Developer: {v.developer}
-
-
setSelectedGame(v.id)}
- title={`Click to download specific versions of the game. You have ${(() => {
- const data = getVersionsAmountData(v.id)
- if (!data) return 'N/A'
- return `${data.installed} of ${data.total}`
- })()} versions downloaded.`}
- >
- <>
- {' '}
- Download
- >
-
-
- ))}
+ ))}
>
) : popupMode === 1 ? (