diff --git a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-hosts.route.js b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-hosts.route.js index af5768aacc..aac38ff707 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-hosts.route.js +++ b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-hosts.route.js @@ -38,7 +38,8 @@ export default { delete list.fieldActions.delete; delete list.fieldActions.edit; delete list.fieldActions.view.ngShow; - list.fields.toggleHost.ngDisabled = true; + let toggleHost = list.staticColumns.find((el) => { return el.field === 'toggleHost'; }); + toggleHost.content.ngDisabled = true; list.fields.name.columnClass = 'col-lg-8 col-md-11 col-sm-8 col-xs-7'; return list; }],