fix(TransactionFilters): Update badge styling for uncategorized selection

This commit is contained in:
Víctor Falcón 2025-11-10 23:35:05 +00:00
parent 1df3bad3c3
commit a2d7af2789
1 changed files with 10 additions and 4 deletions

View File

@ -193,9 +193,7 @@ export function TransactionFilters({
<Label>Categories</Label>
<div className="pt-2 flex flex-wrap gap-2">
<Badge
variant={
isUncategorizedSelected ? 'default' : 'outline'
}
variant={isUncategorizedSelected ? 'default' : 'outline'}
className={`flex cursor-pointer items-center gap-1 py-1.5 ${isUncategorizedSelected
? 'border-transparent bg-muted text-foreground dark:bg-muted/40'
: ''
@ -205,7 +203,15 @@ export function TransactionFilters({
}
>
<UncategorizedIcon className="h-4 w-4 opacity-80" />
Uncategorized
<span
className={
isUncategorizedSelected
? ''
: 'text-muted-foreground'
}
>
Uncategorized
</span>
</Badge>
{categories.map((category) => {
const isSelected =