Commit ddf035f2 authored by Zhou Fang's avatar Zhou Fang Committed by Martin Lowe
Browse files

Fixed revenue, employee count and currency reload issue

parent c44f92f9
......@@ -74,6 +74,9 @@ export function matchCompanyFields(existingOrganizationData) {
// Step1: company Info
id: existingOrganizationData?.id || '',
legalName: existingOrganizationData?.legal_name || '',
revenue: Number(existingOrganizationData?.aggregate_revenue?.slice(0, -4)) || '',
currency: existingOrganizationData?.aggregate_revenue?.slice(-3) || '',
employeeCount: existingOrganizationData?.employee_count || '',
address: {
id: existingOrganizationData?.address?.id || '',
street: existingOrganizationData?.address?.street || '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment