fix(client,i18n): Use block for front end / back end projects and back end challenge right breadcrumb (#41276)

This commit is contained in:
Randell Dawson
2021-02-26 14:08:34 -07:00
committed by GitHub
parent 604b5af739
commit 2b326e9714
2 changed files with 7 additions and 3 deletions

View File

@@ -168,7 +168,8 @@ export class BackEnd extends Component {
description,
instructions,
translationPending,
superBlock
superBlock,
block
}
},
isChallengeCompleted,
@@ -198,7 +199,7 @@ export class BackEnd extends Component {
<Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
<Spacer />
<ChallengeTitle
block={blockName}
block={block}
isCompleted={isChallengeCompleted}
superBlock={superBlock}
translationPending={translationPending}
@@ -260,6 +261,7 @@ export const query = graphql`
challengeType
helpCategory
superBlock
block
translationPending
fields {
blockName

View File

@@ -127,6 +127,7 @@ export class Project extends Component {
title,
description,
superBlock,
block,
translationPending
}
},
@@ -155,7 +156,7 @@ export class Project extends Component {
<Col md={8} mdOffset={2} sm={10} smOffset={1} xs={12}>
<Spacer />
<ChallengeTitle
block={blockName}
block={block}
isCompleted={isChallengeCompleted}
superBlock={superBlock}
translationPending={translationPending}
@@ -202,6 +203,7 @@ export const query = graphql`
challengeType
helpCategory
superBlock
block
translationPending
fields {
blockName