fix: Replaced capitalize to to_title_case util method
This commit is contained in:
parent
1e33f38353
commit
d92f739fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ frappe.user_info = function(uid) {
|
|||
|
||||
if(!(frappe.boot.user_info && frappe.boot.user_info[uid])) {
|
||||
var user_info = {
|
||||
fullname: frappe.utils.capitalize(uid.split("@")[0]) || "Unknown"
|
||||
fullname: frappe.utils.to_title_case(uid.split("@")[0]) || "Unknown"
|
||||
};
|
||||
} else {
|
||||
var user_info = frappe.boot.user_info[uid];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue