diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index dfe5f28b5f..a4b237fb6a 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -188,7 +188,7 @@ function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $com html += "\n"; - html += "" + ($filter('date')(row.finished,'MM/dd HH:mm:ss')).replace(/ /,'
') + ""; + html += "" + ((row.finished) ? ( ($filter('date')(row.finished,'MM/dd HH:mm:ss')).replace(/ /,'
') ) : '') + ""; html += "Events
" + "Hosts"; html += "" + ellipsis(row.name) + "";