From e75cf000e43194e0176d7bb482b5418964b07ff4 Mon Sep 17 00:00:00 2001 From: Leigh Date: Thu, 16 Jun 2016 10:03:29 -0400 Subject: [PATCH] fix cred lookup init where inventory source is ec2, resolves #2428 (#2431) --- .../src/inventories/manage/groups/groups-edit.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js b/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js index 9f1fe28ee4..5fcf9930a5 100644 --- a/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js +++ b/awx/ui/client/src/inventories/manage/groups/groups-edit.controller.js @@ -260,7 +260,7 @@ $scope = angular.extend($scope, groupData); // instantiate lookup fields - if (inventorySourceData.source !== 'custom'){ + if (inventorySourceData.source !== 'custom' && inventorySourceData.source !== 'ec2'){ LookUpInit({ scope: $scope, url: GetBasePath('credentials') + (inventorySourceData.source === '' ? '' : '?kind=' + (inventorySourceData.source)),