mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
Merge pull request #957 from mabashian/860-facts
Fixed display of host facts
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
function AnsibleFacts($scope, Facts, ParseTypeChange, ParseVariableString) {
|
function AnsibleFacts($scope, Facts, ParseTypeChange, ParseVariableString) {
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
$scope.facts = ParseVariableString(Facts.data);
|
$scope.facts = ParseVariableString(Facts);
|
||||||
let rows = (_.isEmpty(Facts.data)) ? 6 : 20;
|
let rows = (_.isEmpty(Facts)) ? 6 : 20;
|
||||||
$("#host_facts").attr("rows", rows);
|
$("#host_facts").attr("rows", rows);
|
||||||
$scope.parseType = 'yaml';
|
$scope.parseType = 'yaml';
|
||||||
ParseTypeChange({
|
ParseTypeChange({
|
||||||
|
|||||||
Reference in New Issue
Block a user