diff --git a/app/javascript/AppRouter.tsx b/app/javascript/AppRouter.tsx index 2a3a8d2e69..7fcebea8c0 100644 --- a/app/javascript/AppRouter.tsx +++ b/app/javascript/AppRouter.tsx @@ -549,6 +549,7 @@ const commonInConventionRoutes: RouteObject[] = [ lazy: () => import('./FormAdmin'), children: [ { path: ':id/edit_advanced', id: NamedRoute.FormJSONEditor, lazy: () => import('./FormAdmin/FormJSONEditor') }, + { path: ':id', lazy: () => import('./FormAdmin/$id/route') }, { index: true, id: NamedRoute.FormAdminIndex, lazy: () => import('./FormAdmin/FormAdminIndex') }, ], }, diff --git a/app/javascript/EventsApp/EventPage/useSectionizedFormItems.ts b/app/javascript/EventsApp/EventPage/useSectionizedFormItems.ts index 1fdb675659..6b787d5b48 100644 --- a/app/javascript/EventsApp/EventPage/useSectionizedFormItems.ts +++ b/app/javascript/EventsApp/EventPage/useSectionizedFormItems.ts @@ -14,7 +14,7 @@ function getSectionizedFormItems(formData: EventPageForm, formResponse: Record 0 && - formResponse[item.identifier], + (formResponse[item.identifier] || formResponse[item.identifier] === false), ); const shortFormItems: TypedFormItem[] = []; const secretFormItems: TypedFormItem[] = [];