From a49b1736db9bf495166fbc50f9d3a8e7b7e5d249 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 9 Sep 2021 15:16:49 +0100 Subject: [PATCH] Hidden should hide it from the listing, but not the actual event (#618) --- pages/[user]/[type].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsx index 12f21577..1e944c67 100644 --- a/pages/[user]/[type].tsx +++ b/pages/[user]/[type].tsx @@ -268,7 +268,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => }, }); - if (!eventType || eventType.hidden) { + if (!eventType) { return { notFound: true, };