From c602a0bfde916e049311e1aee22b852ced0d595f Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Fri, 1 Jul 2016 15:53:32 -0400 Subject: [PATCH] Leverage capitalize function from lodash to capitalize the status text --- awx/ui/client/src/job-detail/job-detail.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/job-detail/job-detail.service.js b/awx/ui/client/src/job-detail/job-detail.service.js index d464061293..080339e7dd 100644 --- a/awx/ui/client/src/job-detail/job-detail.service.js +++ b/awx/ui/client/src/job-detail/job-detail.service.js @@ -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,