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

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