mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Leverage capitalize function from lodash to capitalize the status text
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user