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
849fe7c0
Commit
849fe7c0
authored
May 13, 2020
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roadmap - FIlter children epics by state
parent
ee4518f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/assets/javascripts/roadmap/store/actions.js
ee/app/assets/javascripts/roadmap/store/actions.js
+2
-2
No files found.
ee/app/assets/javascripts/roadmap/store/actions.js
View file @
849fe7c0
...
...
@@ -64,12 +64,12 @@ const fetchGroupEpics = (
export
const
fetchChildrenEpics
=
(
state
,
{
parentItem
})
=>
{
const
{
iid
}
=
parentItem
;
const
{
fullPath
,
filterParams
}
=
state
;
const
{
fullPath
,
filterParams
,
epicsState
}
=
state
;
return
epicUtils
.
gqClient
.
query
({
query
:
epicChildEpics
,
variables
:
{
iid
,
fullPath
,
...
filterParams
},
variables
:
{
iid
,
fullPath
,
state
:
epicsState
,
...
filterParams
},
})
.
then
(({
data
})
=>
{
const
edges
=
data
?.
group
?.
epic
?.
children
?.
edges
||
[];
...
...
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