From 9e31c250250c58a1bbc5cf1848adba25260e4aed Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 11 Apr 2018 10:07:49 -0400 Subject: [PATCH] Pass ngDisabled a simple boolean instead of truthy expression --- .../inventories/smart-inventory/smart-inventory-hosts.route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 41090d5cb4..af5768aacc 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,7 @@ export default { delete list.fieldActions.delete; delete list.fieldActions.edit; delete list.fieldActions.view.ngShow; - list.fields.toggleHost.ngDisabled = '{{1 === 1}}'; + list.fields.toggleHost.ngDisabled = true; list.fields.name.columnClass = 'col-lg-8 col-md-11 col-sm-8 col-xs-7'; return list; }],