From a2f4aaff27e74d36b8f3f3efe43a9cc691575c5b Mon Sep 17 00:00:00 2001 From: Joe Fiorini Date: Tue, 10 Mar 2015 14:42:24 -0400 Subject: [PATCH] Refactor controller --- .../smart-status/smart-status.controller.js | 39 +++++++++++++------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/awx/ui/static/js/smart-status/smart-status.controller.js b/awx/ui/static/js/smart-status/smart-status.controller.js index 790c25d0c1..45949f0f11 100644 --- a/awx/ui/static/js/smart-status/smart-status.controller.js +++ b/awx/ui/static/js/smart-status/smart-status.controller.js @@ -8,19 +8,34 @@ export default ['$scope', function ($scope) { jobIds: {}, smartStatus: [] }; - for(var i=0; i