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

Fixed display of host facts

This commit is contained in:
mabashian 2018-01-10 13:18:38 -05:00
parent ae06cff991
commit 984b7e066d
No known key found for this signature in database
GPG Key ID: 436B8D5EDC704CE3

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