mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Hide filter tooltip when host filter is disabled
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user