forge
Explore
Log in

Don't you dare go Hollow

🔒 gate today's lessons on the sessions module

Browse files at this commit

7a0de35e51f2f896e8a48521d55837ac6f0d05e2Burak BoduroğluParent: 981b841
  • fix
    • 🔒 gate today's lessons on the sessions module
Show full message
fix: 🔒 gate today's lessons on the sessions module
- the panel reads session routes, so it follows the sessions module, not
  classes; /instances/me itself is not module-gated
src/pages/dashboard-page.tsxmodified+1 -1
@@ -847,7 +847,7 @@ function DashboardContent() {
847 out, so it keeps its ComingSoonPanel slot. The AI suggestion847 out, so it keeps its ComingSoonPanel slot. The AI suggestion
848 queue has no backend at all. The one real rail item behind that848 queue has no backend at all. The one real rail item behind that
849 queue — a pending appointment request — gets the rail. */}849 queue — a pending appointment request — gets the rail. */}
850- <Show when={on("classes") && clock()}>850+ <Show when={on("sessions") && clock()}>
851 {(ready) => <TodayLessonsPanel now={ready().now} courseTitle={courseTitleOf} />}851 {(ready) => <TodayLessonsPanel now={ready().now} courseTitle={courseTitleOf} />}
852 </Show>852 </Show>
853 <div class="grid grid-cols-1 gap-3 lg:grid-cols-3">853 <div class="grid grid-cols-1 gap-3 lg:grid-cols-3">