fix(certs): add year to certs introduced in 2020 (#38912)
This commit is contained in:
committed by
GitHub
parent
32a443d1c9
commit
a02ff7b08e
@ -3,13 +3,13 @@ function getCompletedCertCount(user) {
|
||||
'isApisMicroservicesCert',
|
||||
'is2018DataVisCert',
|
||||
'isFrontEndLibsCert',
|
||||
'isQaCert',
|
||||
'isInfosecCert',
|
||||
'is2020QaCert',
|
||||
'is2020InfosecCert',
|
||||
'isJsAlgoDataStructCert',
|
||||
'isRespWebDesignCert',
|
||||
'isSciCompPyCert',
|
||||
'isDataAnalysisPyCert',
|
||||
'isMachineLearningPyCert'
|
||||
'is2020SciCompPyCert',
|
||||
'is2020DataAnalysisPyCert',
|
||||
'is2020MachineLearningPyCert'
|
||||
].reduce((sum, key) => (user[key] ? sum + 1 : sum), 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user