diff --git a/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.controller.js b/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.controller.js index 9b8b5bb509..2f99c6a075 100644 --- a/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.controller.js +++ b/awx/ui/client/src/inventories-hosts/shared/ansible-facts/ansible-facts.controller.js @@ -7,8 +7,8 @@ function AnsibleFacts($scope, Facts, ParseTypeChange, ParseVariableString) { function init() { - $scope.facts = ParseVariableString(Facts.data); - let rows = (_.isEmpty(Facts.data)) ? 6 : 20; + $scope.facts = ParseVariableString(Facts); + let rows = (_.isEmpty(Facts)) ? 6 : 20; $("#host_facts").attr("rows", rows); $scope.parseType = 'yaml'; ParseTypeChange({