mirror of
https://github.com/ansible/awx.git
synced 2026-04-13 05:59:23 -02:30
240 jt details skeleton v2 (#273)
* adding package-lock.json * deleted unsured file * Adds a Bottom Border Component * Updates dependencies * Adds JT Details and tests for it * merge and rebase * addresses UI PR issues * Addresses PR Issues and fixes failing tests. * Updates to code, fixes package and package-lock.json addresses PR Issues * fixes package files
This commit is contained in:
@@ -15,7 +15,7 @@ export function ucFirst (str) {
|
||||
return `${str[0].toUpperCase()}${str.substr(1)}`;
|
||||
}
|
||||
|
||||
export const toTitleCase = (type) => type
|
||||
export const toTitleCase = (string) => string
|
||||
.toLowerCase()
|
||||
.split('_')
|
||||
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
|
||||
Reference in New Issue
Block a user