fix: leaderboard

Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
This commit is contained in:
Timothy J. Baek 2024-10-23 18:54:49 -07:00
parent 0c6e9e3e86
commit 73ab84efe6

View File

@ -107,7 +107,7 @@
rankedModels = $models
.filter((m) => m?.owned_by !== 'arena' && (m?.info?.meta?.hidden ?? false) !== true)
.map((model) => {
const stats = modelStats.get(model.name);
const stats = modelStats.get(model.id);
return {
...model,
rating: stats ? Math.round(stats.rating) : '-',