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
a042dca5
Commit
a042dca5
authored
Jul 26, 2021
by
Zhou Fang
Committed by
Martin Lowe
Jul 28, 2021
Browse files
updated front end to work with new wg data
parent
482a7295
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/www/src/components/Application/WorkingGroups/WorkingGroupParticipationLevel.js
View file @
a042dca5
...
...
@@ -42,7 +42,7 @@ const ParticipationLevel = ({
// extract all the participation_levels
const
optionsForParticipationLevels
=
temp
?.
participation_levels
?
temp
?.
participation_levels
.
map
((
item
)
=>
item
.
level
)
?
temp
?.
participation_levels
.
map
((
item
)
=>
item
.
description
)
:
[];
// the Set will deduplicate participation_levels options
...
...
src/main/www/src/components/Application/WorkingGroups/WorkingGroupsWrapper.js
View file @
a042dca5
...
...
@@ -77,8 +77,8 @@ const WorkingGroupsWrapper = ({ formik, isStartNewForm }) => {
})
.
then
((
data
)
=>
{
let
options
=
data
.
map
((
item
)
=>
({
label
:
item
.
nam
e
,
value
:
item
.
nam
e
,
label
:
item
.
titl
e
,
value
:
item
.
titl
e
,
participation_levels
:
item
.
levels
,
}));
setFullWorkingGroupList
(
options
);
...
...
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