Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
csenel committed Nov 10, 2024
1 parent 3764d09 commit 5a0623c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ export function useTransactionBatchActions() {
valueToSet = value;
}
}
if (name === 'imported_payee') {
// Unmark as imported transaction by setting imported payee to empty string.
valueToSet = '';
}
const transaction = {
...trans,
[name]: valueToSet,
Expand Down Expand Up @@ -232,7 +228,8 @@ export function useTransactionBatchActions() {
// loaded. Need to clean this up in the future.
onChange('cleared', null);
} else if (name === 'imported_payee') {
onChange('imported_payee', null);
// Unmark as imported transaction by setting imported payee to empty string.
onChange('imported_payee', '');
} else if (name === 'category') {
pushCategoryAutocompleteModal();
} else if (name === 'payee') {
Expand Down

0 comments on commit 5a0623c

Please sign in to comment.