This commit is contained in:
Peter Maquiran
2022-04-07 14:24:07 +01:00
parent 34580da026
commit e8ffcca028
10 changed files with 83 additions and 14 deletions
+12
View File
@@ -95,6 +95,18 @@ class SessionService {
})
}
get getInitials() {
let names = this._user.FullName.split(' ') || ' ',
initials = names[0].substring(0, 1).toUpperCase();
if (names.length > 1) {
initials += names[names.length - 1].substring(0, 1).toUpperCase();
}
return initials;
}
}