fix (learn): add title to challenge meta for backend challenges (#38745)
This commit is contained in:
@@ -126,6 +126,7 @@ export class BackEnd extends Component {
|
|||||||
data: {
|
data: {
|
||||||
challengeNode: {
|
challengeNode: {
|
||||||
fields: { tests },
|
fields: { tests },
|
||||||
|
title,
|
||||||
challengeType
|
challengeType
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -133,7 +134,7 @@ export class BackEnd extends Component {
|
|||||||
} = this.props;
|
} = this.props;
|
||||||
initConsole('');
|
initConsole('');
|
||||||
initTests(tests);
|
initTests(tests);
|
||||||
updateChallengeMeta({ ...challengeMeta, challengeType });
|
updateChallengeMeta({ ...challengeMeta, title, challengeType });
|
||||||
challengeMounted(challengeMeta.id);
|
challengeMounted(challengeMeta.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user