Enrolment issue
This commit is contained in:
1 parent
95b7a3f211
commit
3e1b1e0fae
3 files changed
+2
-3
No files matched your search
@@ -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