fix: hide isHidden challenges from hotkey nav
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
f1c9b08cf3
commit
48532d6ccb
@@ -67,12 +67,11 @@ exports.createChallengePages = createPage => ({ node }, index, thisArray) => {
|
||||
required = [],
|
||||
template,
|
||||
challengeType,
|
||||
id,
|
||||
isHidden
|
||||
id
|
||||
} = node;
|
||||
// TODO: challengeType === 7 and isPrivate are the same, right? If so, we
|
||||
// should remove one of them.
|
||||
if (challengeType === 7 || isHidden) {
|
||||
if (challengeType === 7) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user