mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Added credential_type as a default search param to project.credential. Removed leftover console.log
This commit is contained in:
parent
badb7441ae
commit
937c85e89e
@ -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",
|
||||
|
||||
@ -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':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user