From 8eaff8033a4366f7bd770a96c4ba16dd7cd6ebb4 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 18 Nov 2024 05:22:13 -0800 Subject: [PATCH] refac: arena model modal --- src/lib/components/admin/Settings/Evaluations.svelte | 4 ++-- .../Evaluations/{ModelModal.svelte => ArenaModelModal.svelte} | 0 src/lib/components/admin/Settings/Evaluations/Model.svelte | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/lib/components/admin/Settings/Evaluations/{ModelModal.svelte => ArenaModelModal.svelte} (100%) diff --git a/src/lib/components/admin/Settings/Evaluations.svelte b/src/lib/components/admin/Settings/Evaluations.svelte index 62130b203..bf64720bb 100644 --- a/src/lib/components/admin/Settings/Evaluations.svelte +++ b/src/lib/components/admin/Settings/Evaluations.svelte @@ -11,7 +11,7 @@ import Tooltip from '$lib/components/common/Tooltip.svelte'; import Plus from '$lib/components/icons/Plus.svelte'; import Model from './Evaluations/Model.svelte'; - import ModelModal from './Evaluations/ModelModal.svelte'; + import ArenaModelModal from './Evaluations/ArenaModelModal.svelte'; import { getConfig, updateConfig } from '$lib/apis/evaluations'; const i18n = getContext('i18n'); @@ -65,7 +65,7 @@ }); - { addModelHandler(e.detail); diff --git a/src/lib/components/admin/Settings/Evaluations/ModelModal.svelte b/src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte similarity index 100% rename from src/lib/components/admin/Settings/Evaluations/ModelModal.svelte rename to src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte diff --git a/src/lib/components/admin/Settings/Evaluations/Model.svelte b/src/lib/components/admin/Settings/Evaluations/Model.svelte index e6e92e15f..1edf58730 100644 --- a/src/lib/components/admin/Settings/Evaluations/Model.svelte +++ b/src/lib/components/admin/Settings/Evaluations/Model.svelte @@ -4,13 +4,13 @@ const i18n = getContext('i18n'); import Cog6 from '$lib/components/icons/Cog6.svelte'; - import ModelModal from './ModelModal.svelte'; + import ArenaModelModal from './ArenaModelModal.svelte'; export let model; let showModel = false; -