mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix merge
This commit is contained in:
@@ -107,6 +107,17 @@ class SessionService {
|
||||
return initials;
|
||||
}
|
||||
|
||||
|
||||
get getManagerInitials() {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user