Skip to content

Commit

Permalink
fix: model-providers configured empty placeholder & combobox max height
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyjeong13 committed Dec 27, 2024
1 parent 98b067e commit 6a74e38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/admin/app/components/composed/ComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function ComboBoxList<T extends BaseOption>({
return (
<Command
shouldFilter={false}
className="w-[var(--radix-popper-anchor-width)]"
className="w-[var(--radix-popper-anchor-width)] max-h-[50vh]"
>
<CommandInput
placeholder={placeholder}
Expand Down
4 changes: 3 additions & 1 deletion ui/admin/app/routes/_auth.model-providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export default function ModelProviders() {
disabled={!modelProviderConfigured}
/>
</div>
{modelProviderConfigured ? null : (
{modelProviderConfigured ? (
<div className="w-full h-16" />
) : (
<WarningAlert
title="No Model Providers Configured!"
description="To use Obot's features, you'll need to
Expand Down

0 comments on commit 6a74e38

Please sign in to comment.