fix: don't limit mod downloads to 10
This commit is contained in:
parent
9dc28bb679
commit
e7b5a8016e
1 changed files with 16 additions and 19 deletions
|
@ -76,10 +76,7 @@ const ModsPage: React.FC = async () => {
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHeader>
|
</TableHeader>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
{downloads
|
{downloads.map((download) => (
|
||||||
.slice(0, 10)
|
|
||||||
.reverse()
|
|
||||||
.map((download) => (
|
|
||||||
<TableRow key={download._id}>
|
<TableRow key={download._id}>
|
||||||
<TableCell className="font-medium">{download.date}</TableCell>
|
<TableCell className="font-medium">{download.date}</TableCell>
|
||||||
<TableCell>{download.fileName}</TableCell>
|
<TableCell>{download.fileName}</TableCell>
|
||||||
|
|
Loading…
Reference in a new issue