mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -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) {
|
function($scope, qs, InventoryHostsStrings) {
|
||||||
$scope.hostFilterTags = [];
|
$scope.hostFilterTags = [];
|
||||||
|
|
||||||
$scope.filterTooltip = InventoryHostsStrings.get('smartinventories.TOOLTIP');
|
$scope.filterTooltip = $scope.fieldIsDisabled ? '' : InventoryHostsStrings.get('smartinventories.TOOLTIP');
|
||||||
|
|
||||||
$scope.$watch('hostFilter', function(){
|
$scope.$watch('hostFilter', function(){
|
||||||
$scope.hostFilterTags = [];
|
$scope.hostFilterTags = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user