From 6fcf97d23314add7f94556f4b7395f8b96632cf3 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Tue, 5 Jul 2016 11:42:51 -0400 Subject: [PATCH] Reuse credentialBasePath --- .../src/inventories/manage/groups/groups-add.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories/manage/groups/groups-add.controller.js b/awx/ui/client/src/inventories/manage/groups/groups-add.controller.js index f7b8281447..7cc1920daf 100644 --- a/awx/ui/client/src/inventories/manage/groups/groups-add.controller.js +++ b/awx/ui/client/src/inventories/manage/groups/groups-add.controller.js @@ -99,7 +99,7 @@ CredentialList.basePath = credentialBasePath; LookUpInit({ scope: $scope, - url: GetBasePath('credentials') + (source === '' ? '' : '?kind=' + source), + url: credentialBasePath, form: form, list: CredentialList, field: 'credential',