Skip to content
Snippets Groups Projects
Commit ebd65789 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

GH-983: Make sure we don't duplicate round statuses

parent 43399eca
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ class ByStatusListing extends React.Component {
const slugify = value => value.toLowerCase().replace(/\s/g, '-')
const workflow = round.workflow
const order = workflow.reduce((accumulator, {display, value}, idx) => {
const key = slugify(value);
const key = slugify(display);
const existing = accumulator[key] || {}
const existingValues = existing.values || []
const position = existing.position || idx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment