Add logic to allow coming soon challenge to be seen and not used
This commit is contained in:
@ -280,7 +280,12 @@ module.exports = function(app) {
|
||||
debug('looking for %s', testChallengeName);
|
||||
challenge$
|
||||
.filter((challenge) => {
|
||||
return testChallengeName.test(challenge.name);
|
||||
return testChallengeName.test(challenge.name) &&
|
||||
(
|
||||
isDev ||
|
||||
!challenge.isComingSoon ||
|
||||
(isBeta && challenge.isBeta)
|
||||
);
|
||||
})
|
||||
.last({ defaultValue: null })
|
||||
.flatMap(challenge => {
|
||||
|
Reference in New Issue
Block a user