1
0
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:
Michael Abashian 2016-07-01 15:53:32 -04:00
parent d899c33ac4
commit c602a0bfde

View File

@ -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,