diff --git a/components/dashboard/sections/transactions-imports/TransactionsImportRowDataLine.tsx b/components/dashboard/sections/transactions-imports/TransactionsImportRowDataLine.tsx index 7a1e463a0d0..e08977e399f 100644 --- a/components/dashboard/sections/transactions-imports/TransactionsImportRowDataLine.tsx +++ b/components/dashboard/sections/transactions-imports/TransactionsImportRowDataLine.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { isEmpty, startCase } from 'lodash'; +import { isEmpty, omit, startCase } from 'lodash'; import { ExternalLink } from 'lucide-react'; import { isURL } from 'validator'; @@ -71,9 +71,13 @@ const filterEmptyValues = value => { return value; }; +const checkIfKeyIsUnwanted = (key: string) => { + return ['personal_finance_category_icon_url'].includes(key); +}; + export const TransactionsImportRowDataLine = ({ value, labelKey, level = 0 }) => { const cleanValue = React.useMemo(() => filterEmptyValues(value), [value]); - if (!cleanValue) { + if (checkIfKeyIsUnwanted(labelKey) || !cleanValue) { return null; }