Commit 849fe7c0 authored by Florie Guibert's avatar Florie Guibert

Roadmap - FIlter children epics by state

parent ee4518f5
......@@ -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 || [];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment