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
f4dba2fb
Commit
f4dba2fb
authored
Jan 11, 2022
by
Zhou Fang
Browse files
Fixed working group updating issue for membership form
parent
903eb914
Pipeline
#1723
passed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/working_groups.json
View file @
f4dba2fb
...
...
@@ -45,7 +45,7 @@
},
"asciidoc"
:
{
"alias"
:
"asciidoc"
,
"title"
:
"
AsciiDoc® Working Group"
,
"title"
:
"AsciiDoc® Working Group"
,
"status"
:
"active"
,
"logo"
:
"https://www.eclipse.org/org/workinggroups/assets/images/wg_asciidoc.svg"
,
"description"
:
"The AsciiDoc® Working Group drives the standardization, adoption, and evolution of AsciiDoc. This group encourages and shapes the open, collaborative development of the AsciiDoc language and its processors."
,
...
...
src/main/www/public/membership_data/form_1/working_groups.json
View file @
f4dba2fb
...
...
@@ -4,7 +4,7 @@
"id"
:
"402880987649273c0176492a6c6200fd"
,
"form_id"
:
"form_1"
,
"participation_level"
:
"AsciiDoc_level_a"
,
"working_group
_id
"
:
"ascii_doc"
,
"working_group"
:
"ascii_doc"
,
"contact"
:
{
"id"
:
"111"
,
"form_id"
:
"form_1"
,
...
...
@@ -20,7 +20,7 @@
"id"
:
"402880987649273c0176492a6c6300fe"
,
"form_id"
:
"form_1"
,
"participation_level"
:
"OpenGENESIS_level_c"
,
"working_group
_id
"
:
"opengenesis"
,
"working_group"
:
"opengenesis"
,
"contact"
:
{
"id"
:
"777"
,
"form_id"
:
"form_1"
,
...
...
src/main/www/src/Utils/formFunctionHelpers.js
View file @
f4dba2fb
...
...
@@ -168,7 +168,7 @@ export function matchWorkingGroupFields(existingworkingGroupData, workingGroupsO
var
res
=
[];
// Array
existingworkingGroupData
.
forEach
((
item
)
=>
{
let
wg
=
workingGroupsOptions
?.
find
((
el
)
=>
el
.
label
===
item
?.
working_group
_id
);
let
wg
=
workingGroupsOptions
?.
find
((
el
)
=>
el
.
label
===
item
?.
working_group
);
const
basicRepInfo
=
{
firstName
:
item
?.
contact
?.
first_name
||
''
,
lastName
:
item
?.
contact
?.
last_name
||
''
,
...
...
@@ -180,7 +180,7 @@ export function matchWorkingGroupFields(existingworkingGroupData, workingGroupsO
workingGroup
:
{
label
:
wg
?.
label
,
value
:
item
?.
working_group
_id
,
value
:
item
?.
working_group
,
participation_levels
:
wg
?.
participation_levels
,
}
||
''
,
participationLevel
:
item
?.
participation_level
||
''
,
...
...
@@ -291,7 +291,7 @@ export function matchWGFieldsToBackend(eachWorkingGroupData, formId) {
return
{
id
:
eachWorkingGroupData
?.
id
,
working_group
_id
:
eachWorkingGroupData
?.
workingGroup
.
value
,
working_group
:
eachWorkingGroupData
?.
workingGroup
.
value
,
participation_level
:
eachWorkingGroupData
?.
participationLevel
,
effective_date
:
theDate
.
toISOString
().
replace
(
/.
\d
+Z$/g
,
'
Z
'
),
contact
:
{
...
...
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