From 2f96169f077c3afb994a056b9d3e1cdd94c4a5a5 Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 10 Apr 2018 12:27:09 -0400 Subject: [PATCH] Force on/off toggle to be disabled on smart inventory host list --- .../inventories/smart-inventory/smart-inventory-hosts.route.js | 1 + 1 file changed, 1 insertion(+) 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 befc2c2d66..41090d5cb4 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,6 +38,7 @@ export default { delete list.fieldActions.delete; delete list.fieldActions.edit; delete list.fieldActions.view.ngShow; + list.fields.toggleHost.ngDisabled = '{{1 === 1}}'; list.fields.name.columnClass = 'col-lg-8 col-md-11 col-sm-8 col-xs-7'; return list; }],