From ce40e61ab77b367ec1480185d89ba90333c58f1a Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins <matiss@mja.lv> Date: Sat, 18 Mar 2023 11:09:03 +0000 Subject: [PATCH] :bug: (TransactionsTable) bring back missing onHover (#777) Brining back `onHover`. This is a small regression. --- .../src/components/accounts/TransactionsTable.js | 6 ++---- upcoming-release-notes/777.md | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 upcoming-release-notes/777.md diff --git a/packages/desktop-client/src/components/accounts/TransactionsTable.js b/packages/desktop-client/src/components/accounts/TransactionsTable.js index 5b6dfd579..61fa795fc 100644 --- a/packages/desktop-client/src/components/accounts/TransactionsTable.js +++ b/packages/desktop-client/src/components/accounts/TransactionsTable.js @@ -1114,7 +1114,6 @@ export function isPreviewId(id) { function NewTransaction({ transactions, accounts, - currentAccountId, categoryGroups, payees, editingTransaction, @@ -1314,7 +1313,7 @@ function TransactionTableInner({ : new Set() } dateFormat={dateFormat} - onHover={props.onHover} + onHover={onHover} onEdit={tableNavigator.onEdit} onSave={props.onSave} onDelete={props.onDelete} @@ -1353,7 +1352,6 @@ function TransactionTableInner({ hoveredTransaction={props.hoveredTransaction} focusedField={newNavigator.focusedField} accounts={props.accounts} - currentAccountId={props.currentAccountId} categoryGroups={props.categoryGroups} payees={props.payees || []} showAccount={props.showAccount} @@ -1368,7 +1366,7 @@ function TransactionTableInner({ onEdit={newNavigator.onEdit} onSave={props.onSave} onDelete={props.onDelete} - onHover={props.onHover} + onHover={onHover} onManagePayees={props.onManagePayees} onCreatePayee={props.onCreatePayee} /> diff --git a/upcoming-release-notes/777.md b/upcoming-release-notes/777.md new file mode 100644 index 000000000..4494db274 --- /dev/null +++ b/upcoming-release-notes/777.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix missing `onHover` prop in `TransactionsTable` -- GitLab