Merge pull request #323 from mabashian/7498-custom-inv-script-cred

Show credential lookup when source is 'custom'
This commit is contained in:
Michael Abashian
2017-08-22 16:41:18 -04:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ return {
type: 'lookup', type: 'lookup',
list: 'CredentialList', list: 'CredentialList',
basePath: 'credentials', basePath: 'credentials',
ngShow: "source && source.value !== '' && source.value !== 'custom'", ngShow: "source && source.value !== ''",
sourceModel: 'credential', sourceModel: 'credential',
sourceField: 'name', sourceField: 'name',
ngClick: 'lookupCredential()', ngClick: 'lookupCredential()',