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

@@ -101,7 +101,7 @@ export const LearnPage = ({
isSignedIn={isSignedIn}
nodes={edges
.map(({ node }) => node)
.filter(({ isPrivate }) => !isPrivate)}
.filter(({ isPrivate, isHidden }) => !isPrivate && !isHidden)}
/>
</Grid>
</LearnLayout>
@@ -136,6 +136,7 @@ export const query = graphql`
isRequired
superBlock
dashedName
isHidden
}
}
}