Skip to content

Commit

Permalink
enhancement(TransactionsImport): prettier row values (#10817)
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree authored Nov 27, 2024
1 parent 934f7ee commit 46a6f23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import AddFundsModal from '../collectives/AddFundsModal';
const prettyPrintRawValues = (rawValue: Record<string, string>) => {
return Object.entries(rawValue)
.filter(([, value]) => !isEmpty(value))
.map(([key, value]) => `- ${startCase(key)}: ${value}`)
.map(([key, value]) => `- ${startCase(key)}: ${JSON.stringify(value)}`)
.join('\n');
};

Expand Down

0 comments on commit 46a6f23

Please sign in to comment.