wip manage models dialog

This commit is contained in:
Aaron Iker 2025-12-23 23:02:39 +01:00
commit 178c05dfea

View file

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