Skip to content

Commit 446e2ed

Browse files
authored
Merge pull request #4471 from PrakashDurlabhji/issue_4428
Issue 4428 fix
2 parents 163da0b + db56ac3 commit 446e2ed

File tree

1 file changed

+2
-2
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+2
-2
lines changed

src/shared/components/challenge-detail/Specification/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ export default function ChallengeDetailsView(props) {
5656

5757
const allowStockArt = _.find(metadata, { type: 'allowStockArt' });
5858
let environment = '';
59-
const environmentData = _.find(metadata, { type: 'environment' });
59+
const environmentData = _.find(metadata, { name: 'environment' });
6060
if (environmentData) {
6161
environment = environmentData.value;
6262
}
6363

6464
let codeRepo = '';
65-
const codeRepoData = _.find(metadata, { type: 'codeRepo' });
65+
const codeRepoData = _.find(metadata, { name: 'codeRepo' });
6666
if (codeRepoData) {
6767
codeRepo = codeRepoData.value;
6868
}

0 commit comments

Comments
 (0)