feat: label un-audited challenges (#41002)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2021-02-11 13:40:32 +01:00
committed by GitHub
parent c9de726d6a
commit 6c1f6bebed
20 changed files with 268 additions and 189 deletions

View File

@ -300,6 +300,8 @@ ${getFullPath('english')}
challenge.time = time;
challenge.helpCategory =
challenge.helpCategory || helpCategoryMap[dasherize(blockName)];
challenge.translationPending =
lang !== 'english' && !isAuditedCert(lang, superBlock);
return prepareChallenge(challenge);
}