File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/components/ChallengeEditor Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -223,12 +223,13 @@ const ChallengeView = ({
223223 challenge = { challenge }
224224 readOnly
225225 />
226- < AttachmentField
226+ { /* hide until challenge API change is pushed to PROD https://github.com/topcoder-platform/challenge-api/issues/348 */ }
227+ { false && < AttachmentField
227228 challengeId = { challenge . id }
228229 attachments = { attachments }
229230 token = { token }
230231 readOnly
231- />
232+ /> }
232233 < ChallengePrizesField challenge = { challenge } readOnly />
233234 < CopilotFeeField challenge = { challenge } readOnly />
234235 < ChallengeTotalField challenge = { challenge } />
Original file line number Diff line number Diff line change @@ -1454,14 +1454,15 @@ class ChallengeEditor extends Component {
14541454 onUpdateMultiSelect = { this . onUpdateMultiSelect }
14551455 onUpdateMetadata = { this . onUpdateMetadata }
14561456 />
1457- < AttachmentField
1457+ { /* hide until challenge API change is pushed to PROD https://github.com/topcoder-platform/challenge-api/issues/348 */ }
1458+ { false && < AttachmentField
14581459 challenge = { { ...challenge , id : currentChallengeId } }
14591460 challengeId = { currentChallengeId }
14601461 attachments = { attachments }
14611462 onUploadFiles = { uploadAttachments }
14621463 token = { token }
14631464 removeAttachment = { removeAttachment }
1464- />
1465+ /> }
14651466 < ChallengePrizesField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
14661467 < CopilotFeeField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
14671468 < ChallengeTotalField challenge = { challenge } />
You can’t perform that action at this time.
0 commit comments