Skip to content

Commit

Permalink
fix: checking for merchant field instead only for modifiedMerchant
Browse files Browse the repository at this point in the history
  • Loading branch information
kubabutkiewicz committed Jul 4, 2024
1 parent 6b0b42a commit 13e6293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/TransactionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ function compareDuplicateTransactionFields(transactionID: string): {keep: Partia
const change: Record<string, any[]> = {};

const fieldsToCompare: FieldsToCompare = {
merchant: ['modifiedMerchant'],
merchant: ['merchant', 'modifiedMerchant'],
category: ['category'],
tag: ['tag'],
description: ['comment'],
Expand Down

0 comments on commit 13e6293

Please sign in to comment.