diff --git a/packages/console/app/src/routes/workspace/[id]/model-section.module.css b/packages/console/app/src/routes/workspace/[id]/model-section.module.css index 0c5b3a45..68408f78 100644 --- a/packages/console/app/src/routes/workspace/[id]/model-section.module.css +++ b/packages/console/app/src/routes/workspace/[id]/model-section.module.css @@ -150,6 +150,12 @@ &:last-child td { border-bottom: none; } + + &[data-disabled="true"] { + td[data-slot="model-name"] { + color: var(--color-text-muted); + } + } } } diff --git a/packages/console/app/src/routes/workspace/[id]/model-section.tsx b/packages/console/app/src/routes/workspace/[id]/model-section.tsx index f4f2f913..96d6950c 100644 --- a/packages/console/app/src/routes/workspace/[id]/model-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/model-section.tsx @@ -65,7 +65,7 @@ export function ModelSection() { {(modelId) => { const isEnabled = createMemo(() => !modelsInfo()!.disabled.includes(modelId)) return ( - + {modelId}
diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css b/packages/console/app/src/routes/workspace/[id]/provider-section.module.css index b009d1aa..b693de77 100644 --- a/packages/console/app/src/routes/workspace/[id]/provider-section.module.css +++ b/packages/console/app/src/routes/workspace/[id]/provider-section.module.css @@ -32,9 +32,9 @@ font-weight: 500; } - &[data-slot="provider-status"] { + &[data-slot="provider-key"] { text-align: left; - color: var(--color-text); + color: var(--color-text-secondary); width: 50%; [data-slot="edit-form"] { @@ -109,10 +109,6 @@ } tbody tr { - &[data-enabled="false"] { - opacity: 0.6; - } - &:hover { [data-slot="provider-action"] [data-slot="delete-form"] { opacity: 1; diff --git a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx index 2677b36d..06820b32 100644 --- a/packages/console/app/src/routes/workspace/[id]/provider-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/provider-section.tsx @@ -84,12 +84,12 @@ function ProviderRow(props: { provider: Provider }) { } return ( - + {props.provider.name} - + {providerData() ? maskCredentials(providerData()!.credentials) : "Not Configured"}} + fallback={{providerData() ? maskCredentials(providerData()!.credentials) : "--"}} >