Allow enter
to create new transaction when focused on cleared
column (#234)
This commit is contained in:
parent
4c0bd80f24
commit
ecd91b8f8e
1 changed files with 2 additions and 1 deletions
|
@ -1634,7 +1634,8 @@ export let TransactionTable = React.forwardRef((props, ref) => {
|
||||||
onAddSplit(lastTransaction.id);
|
onAddSplit(lastTransaction.id);
|
||||||
} else if (
|
} else if (
|
||||||
(newNavigator.focusedField === 'debit' ||
|
(newNavigator.focusedField === 'debit' ||
|
||||||
newNavigator.focusedField === 'credit') &&
|
newNavigator.focusedField === 'credit' ||
|
||||||
|
newNavigator.focusedField === 'cleared') &&
|
||||||
newNavigator.editingId === lastTransaction.id &&
|
newNavigator.editingId === lastTransaction.id &&
|
||||||
(!isSplit || !lastTransaction.error)
|
(!isSplit || !lastTransaction.error)
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue