Correct users store
This commit is contained in:
parent
af2d105790
commit
496f5b89f6
|
@ -52,7 +52,7 @@ export class storeUsers {
|
||||||
}
|
}
|
||||||
|
|
||||||
getInitials (name) {
|
getInitials (name) {
|
||||||
const fio = Common.Utils.UserInfoParser.getParsedName(name).split(' ');
|
const fio = AscCommon.UserInfoParser.getParsedName(name).split(' ');
|
||||||
let initials = fio[0].substring(0, 1).toUpperCase();
|
let initials = fio[0].substring(0, 1).toUpperCase();
|
||||||
for (let i = fio.length-1; i>0; i--) {
|
for (let i = fio.length-1; i>0; i--) {
|
||||||
if (fio[i][0]!=='(' && fio[i][0]!==')') {
|
if (fio[i][0]!=='(' && fio[i][0]!==')') {
|
||||||
|
|
Loading…
Reference in a new issue