Minor UI Fixes

This commit is contained in:
scmmishra 2018-12-11 10:58:14 +05:30 committed by Aditya Hase
parent d02fd13bf0
commit 689500d081
2 changed files with 4 additions and 4 deletions

View File

@ -54,8 +54,8 @@ export default {
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()
}
},

View File

@ -49,8 +49,8 @@ export default {
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...'