Minor UI Fixes
diff --git a/erpnext/public/js/education/lms/components/Navbar.vue b/erpnext/public/js/education/lms/components/Navbar.vue
index 69445c1..7cd64b2 100644
--- a/erpnext/public/js/education/lms/components/Navbar.vue
+++ b/erpnext/public/js/education/lms/components/Navbar.vue
@@ -54,8 +54,8 @@
data() {
return{
portal: {},
- avatar: frappe.get_cookie("user_image"),
- fullName: frappe.get_cookie("full_name"),
+ avatar: frappe.user_image,
+ fullName: frappe.full_name,
isLogin: frappe.is_user_logged_in()
}
},
diff --git a/erpnext/public/js/education/lms/components/ProfileInfo.vue b/erpnext/public/js/education/lms/components/ProfileInfo.vue
index a6118a0..72afdd0 100644
--- a/erpnext/public/js/education/lms/components/ProfileInfo.vue
+++ b/erpnext/public/js/education/lms/components/ProfileInfo.vue
@@ -49,8 +49,8 @@
name: "ProfileInfo",
data() {
return {
- avatar: frappe.get_cookie("user_image"),
- fullName: frappe.get_cookie("full_name"),
+ avatar: frappe.user_image,
+ fullName: frappe.full_name,
abbr: frappe.get_abbr(frappe.get_cookie("full_name")),
email: frappe.session.user,
joiningDate: 'fetching...'