feat: switch style updates

This commit is contained in:
Aaron Iker
2025-12-22 16:22:05 +01:00
parent 04650f01fe
commit 9f458c5cb6
2 changed files with 43 additions and 38 deletions

View File

@@ -32,7 +32,10 @@ export const DialogManageModels: Component = () => {
}}
>
{(i) => (
<div class="w-full flex items-center justify-between gap-x-2.5">
<div
class="w-full flex items-center justify-between gap-x-2.5"
classList={{ "text-text-weak": !local.model.visible({ modelID: i.id, providerID: i.provider.id }) }}
>
<span>{i.name}</span>
<div onClick={(e) => e.stopPropagation()}>
<Switch