chore: [FIXED] clean up console logs in layout and pricing components, add context prompt for ClassroomIO

This point I have fixed 2 major issues
1. After signing in with Google auth, join a course and going to the course, when you click the back button in the page nav, it takes you to admin instead of lms

2. When you open a course landing page, click enroll, it redirects to 404 instead of the invite page.
This commit is contained in:
Rotimi Best
2025-11-08 18:47:53 +01:00
parent b3d5f291f0
commit 34e5cab733
3 changed files with 14 additions and 5 deletions
@@ -37,10 +37,10 @@
course_cost: courseData.cost,
course_free: isFree
});
console.log('$currentOrg', $currentOrg);
if (isFree) {
const link = getStudentInviteLink(courseData, $currentOrg.siteName, $currentOrgDomain);
console.log('link', link);
goto(link);
} else {
openModal = true;