feat: hide isHidden challenges

This commit is contained in:
Oliver Eyton-Williams
2020-05-20 15:45:34 +02:00
committed by Mrugesh Mohapatra
parent d865e2cb0e
commit 68aef571ee
8 changed files with 15 additions and 8 deletions

View File

@ -127,9 +127,6 @@ async function createChallenge(fullPath, maybeMeta) {
challenge.required = required.concat(challenge.required || []);
challenge.template = template;
challenge.time = time;
// isBeta should default to true, so if it is missing, set it to be true
// eslint-disable-next-line no-undefined
challenge.isBeta = challenge.isBeta === undefined ? true : challenge.isBeta;
return challenge;
}