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

This commit is contained in:
Alex van Andel
2021-09-09 16:16:49 +02:00
committed by GitHub
parent 903f7729c7
commit a49b1736db
+1 -1
View File
@@ -268,7 +268,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
},
});
if (!eventType || eventType.hidden) {
if (!eventType) {
return {
notFound: true,
};