Skip to content
Snippets Groups Projects
Unverified Commit 2fc5a934 authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #1195 from OpenTechFund/fix/1192-detail-view-reviewer-ordering

put people who don't have an order set after those who do
parents e8ce63ef 899a7558
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ const ReviewInformation = ({ submission }) => { ...@@ -34,6 +34,8 @@ const ReviewInformation = ({ submission }) => {
people.sort((a,b) => { people.sort((a,b) => {
if (a.role.order === null) { if (a.role.order === null) {
return 100; return 100;
} else if (b.role.order === null) {
return -1;
} }
return a.role.order - b.role.order; return a.role.order - b.role.order;
}) })
......
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