We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 176e8e9 commit bcee707Copy full SHA for bcee707
src/components/ChallengeEditor/Copilot-Field/index.js
@@ -10,7 +10,7 @@ const CopilotField = ({ copilots, challenge, onUpdateOthers, readOnly, assignYou
10
let errMessage = 'Please set a copilot'
11
const handleProperty = copilots.handle ? 'handle' : 'memberHandle'
12
const selectedCopilot = _.find(copilots, { [handleProperty]: challenge.copilot })
13
- const selectedCopilotHandle = selectedCopilot ? selectedCopilot[handle] : undefined
+ const selectedCopilotHandle = selectedCopilot ? selectedCopilot[handleProperty] : undefined
14
const copilotFee = _.find(challenge.prizeSets, p => p.type === 'copilot', [])
15
const selfService = challenge.selfService
16
0 commit comments