Commit f490e400 authored by Stan Hu's avatar Stan Hu

Fix epic dates not updating with subgroups

The change in https://gitlab.com/gitlab-org/gitlab/merge_requests/22467
caused the wrong path to be passed to the GraphQL endpoint. The frontend
passed only the immediate path (e.g. charts) instead of the full path
(e.g. gitlab-org/charts).

Closes https://gitlab.com/gitlab-org/gitlab/issues/197495
parent 6735832c
......@@ -130,7 +130,7 @@ export const requestEpicDateSaveFailure = ({ commit }, data) => {
export const saveDate = ({ state, dispatch }, { dateType, dateTypeIsFixed, newDate }) => {
const updateEpicInput = {
iid: `${state.epicIid}`,
groupPath: state.groupPath,
groupPath: state.fullPath,
[dateType === dateTypes.start ? 'startDateIsFixed' : 'dueDateIsFixed']: dateTypeIsFixed,
};
......
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