mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 19:50:05 -03:30
Add method to remove input data on credential type change
This commit is contained in:
@@ -35,6 +35,7 @@ function EditCredentialsController (models, $state) {
|
||||
|
||||
vm.form.save = data => {
|
||||
data.user = me.getSelf().id;
|
||||
credential.clearTypeInputs();
|
||||
|
||||
return credential.request('put', data);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user