atualizacoes codex

This commit is contained in:
Vitex Tecnologia
2026-03-20 00:02:12 -03:00
parent 6bf7e7d42e
commit 6537e2dd53
10 changed files with 232 additions and 67 deletions
+8 -6
View File
@@ -183,10 +183,12 @@ export const PromptsView = () => {
</CardDescription>
</CardHeader>
<CardContent>
<Button onClick={() => navigate("/codex/prompts/novo")}>
<Plus className="w-4 h-4 mr-2" />
Novo prompt
</Button>
<div className="flex flex-col sm:flex-row gap-2 sm:items-center">
<Button onClick={() => navigate("/codex/prompts/novo")}>
<Plus className="w-4 h-4 mr-2" />
Novo prompt
</Button>
</div>
</CardContent>
</Card>
) : (
@@ -207,10 +209,10 @@ export const PromptsView = () => {
Carregando...
</TableCell>
</TableRow>
) : promptsList.length === 0 ? (
) : totalRegistros === 0 ? (
<TableRow>
<TableCell colSpan={3} className="text-center text-muted-foreground py-10 text-base">
Não resultados.
{hasActiveFilters ? "Nenhum prompt encontrado para os filtros selecionados." : "Não há resultados."}
</TableCell>
</TableRow>
) : (