From 3d848ce38096a92ed60755c350bcb40b915d4f09 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Wed, 5 Nov 2025 12:25:57 -0700 Subject: [PATCH] Add cutoff to downloads thing --- src/app/layout.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9dd57fc..b3a3a9d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -515,8 +515,13 @@ export default function RootLayout ({ (v, i) => (

- {getVersionGame(v.game)?.name} v - {v.versionName} + {getVersionGame(v.game)?.cutOff == null + ? getVersionGame(v.game)?.name + : getVersionGame(v.game)?.name.substring( + 0, + getVersionGame(v.game)?.cutOff ?? 0 + ) + '...'}{' '} + v{v.versionName}