Files
classroomio/apps/dashboard/src/lib/features
Rotimi Best c72558f8f1 fix(course): treat null isUnlocked as unlocked in progression logic
Items with isUnlocked = null were evaluated as teacher-locked due to
`?? false` defaulting to false before negation. This caused content to
appear locked immediately after a student marked a lesson complete, even
in free-mode courses.

Changed to `?? true` in both client-side (progression-utils.ts) and
server-side (core/progression.ts) so null/undefined isUnlocked defaults
to unlocked — consistent with the sidebar's own `?? true` guard.
2026-06-30 09:25:40 +01:00
..
2026-04-27 11:40:38 +01:00
2026-03-18 23:39:12 +01:00
2026-05-21 16:38:35 +01:00
2026-04-27 11:40:38 +01:00
2026-06-12 01:03:17 +01:00
2026-04-27 11:40:38 +01:00