From 0ff5c06b2b2ae4e4bc7393d952df0dd18bcbcbfc Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Wed, 14 Dec 2016 09:41:32 -0500 Subject: [PATCH] Removed moment injection from the workflow chart directive - not needed --- .../workflows/workflow-chart/workflow-chart.directive.js | 4 ++-- awx/ui/client/src/templates/workflows/workflow.service.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js index e91cc7c2d8..e4557284b6 100644 --- a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js +++ b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js @@ -4,8 +4,8 @@ * All Rights Reserved *************************************************/ -export default [ '$state', 'moment', - function($state, moment) { +export default [ '$state', + function($state) { return { scope: { diff --git a/awx/ui/client/src/templates/workflows/workflow.service.js b/awx/ui/client/src/templates/workflows/workflow.service.js index f355c306f2..64b939ddcb 100644 --- a/awx/ui/client/src/templates/workflows/workflow.service.js +++ b/awx/ui/client/src/templates/workflows/workflow.service.js @@ -225,7 +225,6 @@ export default [function(){ if(params.nodesObj[params.nodeId].summary_fields.job) { treeNode.job = _.clone(params.nodesObj[params.nodeId].summary_fields.job); - //treeNode.job.unified_job_id = params.nodesObj[params.nodeId].summary_fields.job.id; } if(params.nodesObj[params.nodeId].summary_fields.unified_job_template) {