From be4ddab218e83a5467021ba21c2e4887599a29e1 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 23 Aug 2017 18:13:33 -0400 Subject: [PATCH] Hide filter tooltip when host filter is disabled --- .../smart-inventory-host-filter.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/smart-inventory-host-filter.controller.js b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/smart-inventory-host-filter.controller.js index dd9008632b..22b915471c 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/smart-inventory-host-filter.controller.js +++ b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/smart-inventory-host-filter.controller.js @@ -8,7 +8,7 @@ export default ['$scope', 'QuerySet', 'InventoryHostsStrings', function($scope, qs, InventoryHostsStrings) { $scope.hostFilterTags = []; - $scope.filterTooltip = InventoryHostsStrings.get('smartinventories.TOOLTIP'); + $scope.filterTooltip = $scope.fieldIsDisabled ? '' : InventoryHostsStrings.get('smartinventories.TOOLTIP'); $scope.$watch('hostFilter', function(){ $scope.hostFilterTags = [];