diff --git a/app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js b/app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js index 3e6560e1aaa..5b8342500cb 100644 --- a/app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js +++ b/app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js @@ -38,7 +38,6 @@ ManageIQ.angular.app.controller('ansibleCredentialsFormController', ['$window', .then(setManagerResource) .catch(miqService.handleFailure); - vm.afterGet = true; vm.modelCopy = angular.copy( vm.credentialModel ); miqService.sparkleOff(); } @@ -77,6 +76,7 @@ ManageIQ.angular.app.controller('ansibleCredentialsFormController', ['$window', for (var opt in vm.credential_options) { vm.select_options.push({'value': opt, 'label': vm.credential_options[opt].label}); } + vm.afterGet = true; } function getCredentialFormData(response) {