diff --git a/components/lancamentos/types.ts b/components/lancamentos/types.ts index cae9612..a175908 100644 --- a/components/lancamentos/types.ts +++ b/components/lancamentos/types.ts @@ -21,6 +21,7 @@ export type LancamentoItem = { categoriaId: string | null; categoriaName: string | null; categoriaType: string | null; + categoriaIcon: string | null; installmentCount: number | null; recurrenceCount: number | null; currentInstallment: number | null; diff --git a/lib/lancamentos/page-helpers.ts b/lib/lancamentos/page-helpers.ts index ede8d45..2bdabe8 100644 --- a/lib/lancamentos/page-helpers.ts +++ b/lib/lancamentos/page-helpers.ts @@ -413,6 +413,7 @@ export const mapLancamentosData = (rows: LancamentoRowWithRelations[]) => categoriaId: item.categoriaId ?? null, categoriaName: item.categoria?.name ?? null, categoriaType: item.categoria?.type ?? null, + categoriaIcon: item.categoria?.icon ?? null, installmentCount: item.installmentCount ?? null, recurrenceCount: item.recurrenceCount ?? null, currentInstallment: item.currentInstallment ?? null,