fix(transactions): wire date-hidden padding into the /transactions table

The Category padding fix only reached transaction-list.tsx (Accounts and
budgets). The /transactions page builds its own table and called
createTransactionColumns without isDateHidden, so Category kept pl-0 and sat
flush against the edge when the Date column was toggled off.

Pass isDateHidden from columnVisibility.transaction_date, matching
transaction-list.tsx.
This commit is contained in:
Víctor Falcón 2026-06-22 19:14:03 +02:00
parent 0424c73755
commit d75be3ae6f
1 changed files with 2 additions and 0 deletions

View File

@ -847,6 +847,7 @@ export default function Transactions({
onUpdate: updateTransaction,
onCategorized: showAutomatizeToast,
onReEvaluateRules: handleReEvaluateRules,
isDateHidden: columnVisibility.transaction_date === false,
}),
[
accounts,
@ -857,6 +858,7 @@ export default function Transactions({
updateTransaction,
showAutomatizeToast,
handleReEvaluateRules,
columnVisibility,
],
);