Browse Source
CHANGE | Show user first, middle and last name on contacts list, contact detail and profile screens See merge request jetup/rws/rws-appication!362merge-requests/363/merge
Coder
2 years ago
11 changed files with 55 additions and 23 deletions
@ -1,3 +1,7 @@
@@ -1,3 +1,7 @@
|
||||
export const createFullName = (firstName: string, lastName: string) => { |
||||
return [firstName, lastName].filter(it => it).join(' ') |
||||
} |
||||
|
||||
export const createContactName = (firstName?: string, middleName?: string, lastName?: string) => { |
||||
return [lastName, firstName, middleName].filter(it => it).join(' ') |
||||
} |
||||
|
Loading…
Reference in new issue