diff --git a/data/study-reminders.json b/data/study-reminders.json index 545ea31..df9ebfa 100644 --- a/data/study-reminders.json +++ b/data/study-reminders.json @@ -1,4 +1,4 @@ { "users": {}, - "updatedAt": "2026-06-05T13:00:29.596Z" + "updatedAt": "2026-06-08T18:21:54.358Z" } \ No newline at end of file diff --git a/server/routes/study-data.js b/server/routes/study-data.js index 29b77ad..7259a21 100644 --- a/server/routes/study-data.js +++ b/server/routes/study-data.js @@ -31,7 +31,6 @@ export function register(app) { res.json({ enrolledStudySlugs: Array.isArray(user.enrolledStudySlugs) ? user.enrolledStudySlugs : [], availableStudies: getStudyCatalog() - .filter(study => study.status !== 'planned') .map(study => ({ slug: study.slug, title: study.title })), }) }) diff --git a/server/study-helpers.js b/server/study-helpers.js index 8e99cd1..67b4c5e 100644 --- a/server/study-helpers.js +++ b/server/study-helpers.js @@ -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) {