feat(lancamentos): refina filtros e tabela responsiva

This commit is contained in:
Felipe Coutinho
2026-05-28 10:59:24 -03:00
parent 311369f81b
commit 0171b0ce2f
9 changed files with 715 additions and 234 deletions

View File

@@ -118,6 +118,9 @@ export type SlugMaps = {
type FilterOption = {
slug: string;
label: string;
icon?: string | null;
avatarUrl?: string | null;
type?: string | null;
};
type AccountCardFilterOption = FilterOption & {
@@ -686,7 +689,12 @@ export const buildOptionSets = ({
);
const categoryFilterOptions = sortByLabel(
categoryFiltersRaw.map(({ slug, label, icon }) => ({ slug, label, icon })),
categoryFiltersRaw.map(({ slug, label, type, icon }) => ({
slug,
label,
type,
icon,
})),
);
const accountCardFilterOptions = sortByLabel(