mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): missing b1 cert from settings page (#64938)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@ import { User } from '../../../../redux/prop-types';
|
||||
export const getCertifications = (user: User) => {
|
||||
const {
|
||||
isA2EnglishCert,
|
||||
isB1EnglishCert,
|
||||
isRespWebDesignCert,
|
||||
isRespWebDesignCertV9,
|
||||
is2018DataVisCert,
|
||||
@@ -32,6 +33,7 @@ export const getCertifications = (user: User) => {
|
||||
return {
|
||||
hasModernCert:
|
||||
isA2EnglishCert ||
|
||||
isB1EnglishCert ||
|
||||
isRespWebDesignCertV9 ||
|
||||
isJavascriptCertV9 ||
|
||||
isFoundationalCSharpCertV8 ||
|
||||
@@ -63,6 +65,11 @@ export const getCertifications = (user: User) => {
|
||||
title: 'A2 English for Developers Certification (Beta)',
|
||||
certSlug: Certification.A2English
|
||||
},
|
||||
{
|
||||
show: isB1EnglishCert,
|
||||
title: 'B1 English for Developers Certification (Beta)',
|
||||
certSlug: Certification.B1English
|
||||
},
|
||||
{
|
||||
show: isRespWebDesignCertV9,
|
||||
title: 'Responsive Web Design Certification',
|
||||
|
||||
@@ -55,6 +55,7 @@ const userProps = {
|
||||
isDonating: false,
|
||||
is2018DataVisCert: true,
|
||||
isA2EnglishCert: true,
|
||||
isB1EnglishCert: true,
|
||||
isApisMicroservicesCert: true,
|
||||
isBackEndCert: true,
|
||||
isDataVisCert: true,
|
||||
|
||||
Reference in New Issue
Block a user