fix: Content Routing
diff --git a/erpnext/public/js/education/lms/lms.js b/erpnext/public/js/education/lms/lms.js
index 5fb7b7d..15370d0 100644
--- a/erpnext/public/js/education/lms/lms.js
+++ b/erpnext/public/js/education/lms/lms.js
@@ -9,9 +9,8 @@
 Vue.use(VueRouter)
 
 var store = {
-	isLogin: false,
 	enrolledPrograms: [],
-	enrolledCourses: {}
+	enrolledCourses: []
 }
 
 frappe.ready(() => {
diff --git a/erpnext/public/js/education/lms/routes.js b/erpnext/public/js/education/lms/routes.js
index 7f06c78..d5aab29 100644
--- a/erpnext/public/js/education/lms/routes.js
+++ b/erpnext/public/js/education/lms/routes.js
@@ -28,7 +28,8 @@
 		component: ContentPage,
 		props: true,
 		beforeEnter: (to, from, next) => {
-			if (lms.store.checkProgramEnrollment(this.program_name)) {
+			console.log(from.params.program_name)
+			if (lms.store.checkProgramEnrollment(from.params.program_name)) {
 				next()
 			} else {
 				next({