fix(client): use block for video challenge right breadcrumb (#41397)

This commit is contained in:
gikf
2021-03-07 19:06:17 +01:00
committed by GitHub
parent 0432ec995f
commit e213c9f581

View File

@ -162,6 +162,7 @@ export class Project extends Component {
title, title,
description, description,
superBlock, superBlock,
block,
translationPending, translationPending,
videoId, videoId,
question: { text, answers, solution } question: { text, answers, solution }
@ -193,7 +194,7 @@ export class Project extends Component {
<Row> <Row>
<Spacer /> <Spacer />
<ChallengeTitle <ChallengeTitle
block={blockName} block={block}
isCompleted={isChallengeCompleted} isCompleted={isChallengeCompleted}
superBlock={superBlock} superBlock={superBlock}
translationPending={translationPending} translationPending={translationPending}
@ -323,6 +324,7 @@ export const query = graphql`
challengeType challengeType
helpCategory helpCategory
superBlock superBlock
block
fields { fields {
blockName blockName
slug slug