diff --git a/src/components/ChallengeEditor/ChallengeView/index.js b/src/components/ChallengeEditor/ChallengeView/index.js
index fab8d15c..9138aed8 100644
--- a/src/components/ChallengeEditor/ChallengeView/index.js
+++ b/src/components/ChallengeEditor/ChallengeView/index.js
@@ -136,7 +136,7 @@ const ChallengeView = ({
+ }} copilots={challengeResources} assignYourselfCopilot={assignYourselfCopilot} showRejectChallengeModal={showRejectChallengeModal} readOnly />
{
let errMessage = 'Please set a copilot'
- const selectedCopilot = _.find(copilots, { handle: challenge.copilot })
+ const handleProperty = copilots.handle ? 'handle' : 'memberHandle'
+ const selectedCopilot = _.find(copilots, { [handleProperty]: challenge.copilot })
+ const selectedCopilotHandle = selectedCopilot ? selectedCopilot[handleProperty] : undefined
const copilotFee = _.find(challenge.prizeSets, p => p.type === 'copilot', [])
const selfService = challenge.selfService
@@ -19,10 +21,10 @@ const CopilotField = ({ copilots, challenge, onUpdateOthers, readOnly, assignYou
{(selectedCopilot || selfService) && (
- {(selectedCopilot &&
)}
+ {(selectedCopilot &&
)}
{(selfService && !selectedCopilot &&
)}
)}
diff --git a/src/components/ChallengeEditor/index.js b/src/components/ChallengeEditor/index.js
index 099ee7ad..9ade3ca7 100644
--- a/src/components/ChallengeEditor/index.js
+++ b/src/components/ChallengeEditor/index.js
@@ -1234,7 +1234,8 @@ class ChallengeEditor extends Component {
attachments,
projectPhases,
challengeId,
- assignYourselfCopilot
+ assignYourselfCopilot,
+ challengeResources
} = this.props
if (_.isEmpty(challenge)) {
return
Error loading challenge
@@ -1466,6 +1467,7 @@ class ChallengeEditor extends Component {
const activeProjectMilestones = projectPhases.filter(phase => phase.status === MILESTONE_STATUS.ACTIVE)
const currentChallengeId = this.getCurrentChallengeId()
const showTimeline = false // disables the timeline for time being https://github.com/topcoder-platform/challenge-engine-ui/issues/706
+ const copilotResources = metadata.members || challengeResources
const challengeForm = isNew
? (