Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Foundation
IT
Websites
membership.eclipse.org
Commits
ddf035f2
Commit
ddf035f2
authored
Aug 18, 2021
by
Zhou Fang
Committed by
Martin Lowe
Aug 18, 2021
Browse files
Fixed revenue, employee count and currency reload issue
parent
c44f92f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/www/src/Utils/formFunctionHelpers.js
View file @
ddf035f2
...
...
@@ -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
||
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment