From 991e1916bf871d06a90cf1191c3d5ddd7ea61226 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 23 Aug 2017 11:35:06 -0400 Subject: [PATCH] Iterator is nested_host and not host --- .../groups/related/nested-hosts/group-nested-hosts.list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-hosts/group-nested-hosts.list.js b/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-hosts/group-nested-hosts.list.js index f2cadaf54b..1bf4c01fa5 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-hosts/group-nested-hosts.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/groups/related/nested-hosts/group-nested-hosts.list.js @@ -21,7 +21,7 @@ export default ['i18n', function(i18n) { fields: { toggleHost: { - ngDisabled: '!nested_host.summary_fields.user_capabilities.edit || host.has_inventory_sources', + ngDisabled: '!nested_host.summary_fields.user_capabilities.edit || nested_host.has_inventory_sources', label: '', columnClass: 'List-staticColumn--toggle', type: "toggle",