Enrolment issue

This commit is contained in:
nmemmert committed 2026-06-08 14:45:04 -04:00
1 parent 95b7a3f211
commit 3e1b1e0fae
3 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ export function getStudyCatalog() {
export function isEnrollableStudySlug(studySlug) {
const normalized = normalizeStudySlug(studySlug)
if (!normalized) return false
return getStudyCatalog().some(study => study.slug === normalized && study.status !== 'planned')
return getStudyCatalog().some(study => study.slug === normalized)
}
export function getStudyTitleBySlug(studySlug) {