mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 00:31:25 +10:00
feat(ui): more ui improvements
This commit is contained in:
@ -12,14 +12,16 @@ export default defineEventHandler(async (h3) => {
|
||||
},
|
||||
select: {
|
||||
game: true,
|
||||
created: true,
|
||||
platform: true,
|
||||
},
|
||||
orderBy: {
|
||||
created: "desc",
|
||||
},
|
||||
take: 8,
|
||||
take: 12,
|
||||
});
|
||||
|
||||
return versions;
|
||||
const games = versions
|
||||
.map((e) => e.game)
|
||||
.filter((v, i, a) => a.findIndex((e) => e.id === v.id) === i);
|
||||
|
||||
return games;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user