Enrolment issue
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user