Hidden should hide it from the listing, but not the actual event (#618)

pull/619/head
Alex van Andel 2021-09-09 15:16:49 +01:00 committed by GitHub
parent 903f7729c7
commit a49b1736db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
},
});
if (!eventType || eventType.hidden) {
if (!eventType) {
return {
notFound: true,
};