Browse Source

enh: arena models toggle tooltip

Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
Timothy J. Baek 6 months ago
parent
commit
5499b5acc8
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/lib/components/admin/Settings/Evaluations.svelte

+ 4 - 1
src/lib/components/admin/Settings/Evaluations.svelte

@@ -87,7 +87,10 @@
 				<div class=" mb-2">
 					<div class="flex justify-between items-center text-xs">
 						<div class=" text-xs font-medium">{$i18n.t('Arena Models')}</div>
-						<Switch bind:state={config.ENABLE_EVALUATION_ARENA_MODELS} />
+
+						<Tooltip content={$i18n.t(`Message rating should be enabled to use this feature`)}>
+							<Switch bind:state={config.ENABLE_EVALUATION_ARENA_MODELS} />
+						</Tooltip>
 					</div>
 				</div>