diff --git a/awx/ui/client/src/inventories/manage/groups/groups-list.controller.js b/awx/ui/client/src/inventories/manage/groups/groups-list.controller.js index 6cd7d45cc4..bdfdb5dae0 100644 --- a/awx/ui/client/src/inventories/manage/groups/groups-list.controller.js +++ b/awx/ui/client/src/inventories/manage/groups/groups-list.controller.js @@ -46,7 +46,7 @@ } function buildStatusIndicators(group){ - if (group === undefined) { + if (group === undefined || group === null) { group = {}; } @@ -147,7 +147,7 @@ $scope.$on(`ws-jobs`, function(e, data){ var group = Find({ list: $scope.groups, key: 'id', val: data.group_id }); - if (group === undefined) { + if (group === undefined || group === null) { group = {}; }