mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 13:18:47 +00:00
fix(ai-ui): empty models list text
This commit is contained in:
@@ -225,6 +225,12 @@ export const HandleAi = ({ aiId }: Props) => {
|
|||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{!isLoadingServerModels && !models?.length && (
|
||||||
|
<span className="text-sm text-muted-foreground">
|
||||||
|
No models available
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
|
||||||
{!isLoadingServerModels && models && models.length > 0 && (
|
{!isLoadingServerModels && models && models.length > 0 && (
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
|
|||||||
Reference in New Issue
Block a user