mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(client): c# cert id (#62858)
This commit is contained in:
@@ -793,7 +793,7 @@ const allStandardCerts = [
|
||||
]
|
||||
},
|
||||
{
|
||||
id: '647e3159823e0ef219c7359b',
|
||||
id: '647f7da207d29547b3bee1ba',
|
||||
title: 'Foundational C# with Microsoft',
|
||||
certSlug: Certification.FoundationalCSharp,
|
||||
projects: [
|
||||
@@ -952,12 +952,12 @@ const allStandardCerts = [
|
||||
]
|
||||
},
|
||||
{
|
||||
id: '682c3153086dd7cabe7f48bc',
|
||||
id: '68f1268149f045a650d4229e',
|
||||
title: 'A1 Professional Chinese',
|
||||
certSlug: Certification.A1Chinese,
|
||||
projects: [
|
||||
{
|
||||
id: '682c2753317b88f1ecdad894',
|
||||
id: '688f1daf0133dbe2a36b140b',
|
||||
title: 'Dialogue 1: PLACEHOLDER',
|
||||
link: `${a1ChineseBase}/learn-essential-courtesies-at-the-office
|
||||
/text-1`,
|
||||
@@ -1008,6 +1008,12 @@ const upcomingCerts = allStandardCerts.filter((cert): cert is UpcomingCert =>
|
||||
const liveCerts = showUpcomingChanges
|
||||
? [...currentCerts, ...legacyCerts, fullstackCert, ...upcomingCerts]
|
||||
: [...currentCerts, ...legacyCerts, fullstackCert];
|
||||
const allCerts = [
|
||||
...currentCerts,
|
||||
...legacyCerts,
|
||||
fullstackCert,
|
||||
...upcomingCerts
|
||||
];
|
||||
|
||||
type CertsToProjects = Record<
|
||||
(typeof allStandardCerts)[number]['certSlug'],
|
||||
@@ -1025,4 +1031,4 @@ export type CertTitle =
|
||||
| (typeof liveCerts)[number]['title']
|
||||
| 'Legacy Full Stack';
|
||||
|
||||
export { liveCerts, certsToProjects };
|
||||
export { liveCerts, certsToProjects, allCerts };
|
||||
|
||||
Reference in New Issue
Block a user