mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Leverage capitalize function from lodash to capitalize the status text
This commit is contained in:
parent
d899c33ac4
commit
c602a0bfde
@ -91,7 +91,7 @@ export default
|
||||
results.push({
|
||||
id: event.id,
|
||||
status: status.status,
|
||||
status_text: _.head(status.status).toUpperCase() + _.tail(status.status),
|
||||
status_text: _.capitalize(status.status),
|
||||
host_id: event.host,
|
||||
task_id: event.parent,
|
||||
name: event.event_data.host,
|
||||
|
Loading…
Reference in New Issue
Block a user