fix: corrige formato de colunas UTable para Nuxt UI v3 (TanStack Table)

Substitui o formato de colunas { key, label } (Nuxt UI v2) pelo formato
correto { id, accessorKey, header } exigido pelo TanStack Table no Nuxt UI v3.
Afetou 7 arquivos: EditaisTable, index, orgaos, concorrentes, contratos,
inteligencia/index e sistema/usuarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Junior
2026-03-14 11:03:39 -03:00
parent b8caea30e6
commit 587a0d4f62
7 changed files with 40 additions and 40 deletions

View File

@@ -11,10 +11,10 @@ const perfilLabel: Record<string, string> = {
}
const columns = [
{ key: 'nome', label: 'Nome' },
{ key: 'email', label: 'E-mail' },
{ key: 'perfil', label: 'Perfil' },
{ key: 'status', label: 'Status' },
{ id: 'nome', accessorKey: 'nome', header: 'Nome' },
{ id: 'email', accessorKey: 'email', header: 'E-mail' },
{ id: 'perfil', accessorKey: 'perfil', header: 'Perfil' },
{ id: 'status', accessorKey: 'status', header: 'Status' },
]
</script>