fix(ui): cap first letters of initials
This commit is contained in:
parent
dcb4e91e5b
commit
9526eb9742
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ export const compareJsonObjects = (obj1: any, obj2: any) => {
|
|||
|
||||
export const getInitials = (name: any) => {
|
||||
const names = name.split(' ');
|
||||
return names.slice(0, 2).map((n: any) => n[0]).join('');
|
||||
return names.slice(0, 2).map((n: any) => n[0].toUpperCase()).join('');
|
||||
}
|
||||
export function getTimelinePosition(value: any, scale: any) {
|
||||
const pos = value * scale;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue