fix (learn): add title to challenge meta for backend challenges (#38745)

This commit is contained in:
Hassaan Pasha
2020-05-07 21:26:58 +05:00
committed by GitHub
parent eba6da66cc
commit 7126bacf34

View File

@@ -126,6 +126,7 @@ export class BackEnd extends Component {
data: {
challengeNode: {
fields: { tests },
title,
challengeType
}
},
@@ -133,7 +134,7 @@ export class BackEnd extends Component {
} = this.props;
initConsole('');
initTests(tests);
updateChallengeMeta({ ...challengeMeta, challengeType });
updateChallengeMeta({ ...challengeMeta, title, challengeType });
challengeMounted(challengeMeta.id);
}