File tree 2 files changed +6
-4
lines changed
src/components/ChallengeEditor
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -223,12 +223,13 @@ const ChallengeView = ({
223
223
challenge = { challenge }
224
224
readOnly
225
225
/>
226
- < AttachmentField
226
+ { /* hide until challenge API change is pushed to PROD https://github.com/topcoder-platform/challenge-api/issues/348 */ }
227
+ { false && < AttachmentField
227
228
challengeId = { challenge . id }
228
229
attachments = { attachments }
229
230
token = { token }
230
231
readOnly
231
- />
232
+ /> }
232
233
< ChallengePrizesField challenge = { challenge } readOnly />
233
234
< CopilotFeeField challenge = { challenge } readOnly />
234
235
< ChallengeTotalField challenge = { challenge } />
Original file line number Diff line number Diff line change @@ -1454,14 +1454,15 @@ class ChallengeEditor extends Component {
1454
1454
onUpdateMultiSelect = { this . onUpdateMultiSelect }
1455
1455
onUpdateMetadata = { this . onUpdateMetadata }
1456
1456
/>
1457
- < AttachmentField
1457
+ { /* hide until challenge API change is pushed to PROD https://github.com/topcoder-platform/challenge-api/issues/348 */ }
1458
+ { false && < AttachmentField
1458
1459
challenge = { { ...challenge , id : currentChallengeId } }
1459
1460
challengeId = { currentChallengeId }
1460
1461
attachments = { attachments }
1461
1462
onUploadFiles = { uploadAttachments }
1462
1463
token = { token }
1463
1464
removeAttachment = { removeAttachment }
1464
- />
1465
+ /> }
1465
1466
< ChallengePrizesField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
1466
1467
< CopilotFeeField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
1467
1468
< ChallengeTotalField challenge = { challenge } />
You can’t perform that action at this time.
0 commit comments