Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
95c4e171
Commit
95c4e171
authored
3 years ago
by
NataliaTepluhina
Committed by
Natalia Tepluhina
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added groupMembers checks
parent
4c85c77d
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
app/assets/javascripts/jira_import/components/jira_import_form.vue
...s/javascripts/jira_import/components/jira_import_form.vue
+6
-4
ee/app/assets/javascripts/boards/components/epic_filtered_search.vue
...ts/javascripts/boards/components/epic_filtered_search.vue
+3
-1
No files found.
app/assets/javascripts/jira_import/components/jira_import_form.vue
View file @
95c4e171
...
...
@@ -168,10 +168,12 @@ export default {
})
.
then
(({
data
})
=>
{
this
.
users
=
data
?.
project
?.
projectMembers
?.
nodes
?.
map
(({
user
})
=>
({
...
user
,
id
:
getIdFromGraphQLId
(
user
.
id
),
}))
||
[];
data
?.
project
?.
projectMembers
?.
nodes
.
filter
((
x
)
=>
x
?.
user
)
.
map
(({
user
})
=>
({
...
user
,
id
:
getIdFromGraphQLId
(
user
.
id
),
}))
||
[];
return
this
.
users
;
})
.
finally
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
ee/app/assets/javascripts/boards/components/epic_filtered_search.vue
View file @
95c4e171
...
...
@@ -60,7 +60,9 @@ export default {
search
:
authorsSearchTerm
,
},
})
.
then
(({
data
})
=>
data
.
group
?.
groupMembers
.
nodes
.
map
((
item
)
=>
item
.
user
));
.
then
(({
data
})
=>
data
.
group
?.
groupMembers
.
nodes
.
filter
((
x
)
=>
x
?.
user
).
map
(({
user
})
=>
user
),
);
},
fetchLabels
(
labelSearchTerm
)
{
return
this
.
$apollo
...
...
This diff is collapsed.
Click to expand it.
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