Skip to content
Snippets Groups Projects
Unverified Commit ecd91b8f authored by Ezekiel Elin's avatar Ezekiel Elin Committed by GitHub
Browse files

Allow `enter` to create new transaction when focused on `cleared` column (#234)

parent 4c0bd80f
No related branches found
No related tags found
No related merge requests found
......@@ -1634,7 +1634,8 @@ export let TransactionTable = React.forwardRef((props, ref) => {
onAddSplit(lastTransaction.id);
} else if (
(newNavigator.focusedField === 'debit' ||
newNavigator.focusedField === 'credit') &&
newNavigator.focusedField === 'credit' ||
newNavigator.focusedField === 'cleared') &&
newNavigator.editingId === lastTransaction.id &&
(!isSplit || !lastTransaction.error)
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment