diff --git a/awx/ui/static/js/system-tracking/system-tracking.controller.js b/awx/ui/static/js/system-tracking/system-tracking.controller.js index b7a159bdb8..b6e3553b0b 100644 --- a/awx/ui/static/js/system-tracking/system-tracking.controller.js +++ b/awx/ui/static/js/system-tracking/system-tracking.controller.js @@ -44,7 +44,7 @@ function controller($rootScope, $scope.rightScanDate = initialFactData.rightScanDate; $scope.leftHostname = hosts[0].name; - $scope.rightHostname = hosts[1].name; + $scope.rightHostname = hosts.length > 1 ? hosts[1].name : hosts[0].name; function setHeaderValues(viewType) { if (viewType === 'singleHost') {