mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Merge pull request #3220 from mabashian/credential-modal-400
Prevent extra fetch of cred list as cred modal is closing Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -117,7 +117,7 @@ function multiCredentialModalController(GetBasePath, qs, MultiCredentialService)
|
||||
}));
|
||||
|
||||
const watchType = scope.$watch('credentialType', (newValue, oldValue) => {
|
||||
if (newValue !== oldValue) {
|
||||
if (newValue && newValue !== oldValue) {
|
||||
fetchCredentials(parseInt(newValue));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user