mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Merge pull request #5410 from mabashian/5404-ask-checkboxes-credential
Wait to update checkboxes until the credential data is on scope
This commit is contained in:
commit
69300b83c6
@ -349,7 +349,6 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log,
|
||||
}
|
||||
});
|
||||
|
||||
setAskCheckboxes();
|
||||
OwnerChange({ scope: $scope });
|
||||
$scope.$watch("ssh_key_data", function(val) {
|
||||
if (val === "" || val === null || val === undefined) {
|
||||
@ -498,6 +497,8 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log,
|
||||
}
|
||||
$scope.credential_obj = data;
|
||||
|
||||
setAskCheckboxes();
|
||||
|
||||
$scope.$emit('credentialLoaded');
|
||||
Wait('stop');
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user