mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Prevent extra fetch of cred list as cred modal is closing
This commit is contained in:
parent
52b88d839e
commit
406cb07018
@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user