Hide filter tooltip when host filter is disabled

This commit is contained in:
mabashian
2017-08-23 18:13:33 -04:00
parent 29fcf336c1
commit be4ddab218

View File

@@ -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 = [];