From 73ab84efe6de9e7cdc98771cb87d23a8e52fea86 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 23 Oct 2024 18:54:49 -0700 Subject: [PATCH] fix: leaderboard Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com> --- src/lib/components/admin/Evaluations.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/admin/Evaluations.svelte b/src/lib/components/admin/Evaluations.svelte index cae1fd66c..20bfd9adf 100644 --- a/src/lib/components/admin/Evaluations.svelte +++ b/src/lib/components/admin/Evaluations.svelte @@ -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) : '-',