From d0c9d8ce4ed1e0a431cad1eb96d798e74c1902d9 Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 28 Aug 2017 12:37:41 -0400 Subject: [PATCH] Updated smart inv host filter list empty text --- .../host-filter-modal/host-filter-modal.directive.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js index caad82cc41..56998865da 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js +++ b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js @@ -50,6 +50,7 @@ export default ['templateUrl', function(templateUrl) { hostList.well = false; delete hostList.fields.inventory.ngClick; hostList.fields.inventory.ngBind = 'host.summary_fields.inventory.name'; + hostList.emptyListText = 'You must have access to at least one host in order to create a smart inventory host filter'; let html = GenerateList.build({ list: hostList, input_type: 'host-filter-modal-body',