1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #957 from mabashian/860-facts

Fixed display of host facts
This commit is contained in:
Michael Abashian 2018-01-10 15:02:23 -05:00 committed by GitHub
commit 81fc4219ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({