Commit 100b257b authored by Phil Hughes's avatar Phil Hughes

Merge branch '9829-fix-roadmap-sort-typo' into 'master'

Fix typo in Roadmap sorting causing scrolling to fail on null dates

Closes #9829

See merge request gitlab-org/gitlab-ee!9604
parents 50b5b743 e5e0d414
...@@ -428,7 +428,7 @@ export const sortEpics = (epics, sortedBy) => { ...@@ -428,7 +428,7 @@ export const sortEpics = (epics, sortedBy) => {
} }
if (b.startDateUndefined) { if (b.startDateUndefined) {
aDate = pastDate; bDate = pastDate;
} else { } else {
bDate = b.startDateOutOfRange ? b.originalStartDate : b.startDate; bDate = b.startDateOutOfRange ? b.originalStartDate : b.startDate;
} }
......
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