Skip to content

Commit

Permalink
feat(Violations): capitalize
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Alvarez <[email protected]>
  • Loading branch information
trevor-coleman and cead22 authored Nov 30, 2023
1 parent bc3b872 commit 9fd9bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Violations/ViolationsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ViolationsUtils = {
newTransactionViolations.push({name: 'categoryOutOfPolicy', type: 'violation', userMessage: ''});
}

// remove 'categoryOutOfPolicy' violation if category is in policy
// Remove 'categoryOutOfPolicy' violation if category is in policy
if (hasCategoryViolation && transaction.category && isCategoryInPolicy) {
newTransactionViolations = reject(newTransactionViolations, {name: 'categoryOutOfPolicy'});
}
Expand Down

0 comments on commit 9fd9bf9

Please sign in to comment.