Add cutoff to downloads thing
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user