diff --git a/awx/ui/client/src/projects/projects.form.js b/awx/ui/client/src/projects/projects.form.js index ebfbcd97c0..c4c576aafb 100644 --- a/awx/ui/client/src/projects/projects.form.js +++ b/awx/ui/client/src/projects/projects.form.js @@ -130,10 +130,9 @@ export default ['i18n', 'NotificationsList', function(i18n, NotificationsList) { type: 'lookup', basePath: 'credentials', list: 'CredentialList', - // apply a default search filter to show only scm credentials - // search: { - // kind: 'scm' - // }, + search: { + "credential_type": null + }, ngClick: 'lookupCredential()', awRequiredWhen: { reqExpression: "credRequired", diff --git a/awx/ui/client/src/shared/directives.js b/awx/ui/client/src/shared/directives.js index b9d2836f1b..fbf4301f06 100644 --- a/awx/ui/client/src/shared/directives.js +++ b/awx/ui/client/src/shared/directives.js @@ -533,7 +533,7 @@ function(ConfigurationUtils, i18n, $rootScope) { } else { basePath = GetBasePath(elm.attr('data-basePath')) || elm.attr('data-basePath'); - let switchType = attrs.awlookuptype ? attrs.awlookuptype : modelName;console.log(switchType); + let switchType = attrs.awlookuptype ? attrs.awlookuptype : modelName; switch(switchType) { case 'credential':