Add cutoff to downloads thing

This commit is contained in:
2025-11-05 12:25:57 -07:00
parent 0b2e26470d
commit 3d848ce380

View File

@@ -515,8 +515,13 @@ export default function RootLayout ({
(v, i) => ( (v, i) => (
<div key={i} className='popup-entry'> <div key={i} className='popup-entry'>
<p className='text-2xl'> <p className='text-2xl'>
{getVersionGame(v.game)?.name} v {getVersionGame(v.game)?.cutOff == null
{v.versionName} ? getVersionGame(v.game)?.name
: getVersionGame(v.game)?.name.substring(
0,
getVersionGame(v.game)?.cutOff ?? 0
) + '...'}{' '}
v{v.versionName}
</p> </p>
<button <button
className='button right-22 bottom-1.5' className='button right-22 bottom-1.5'