mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
fix recent multi-vault select breakage
This commit is contained in:
@@ -209,13 +209,11 @@ function multiCredentialModalController(GetBasePath, qs, MultiCredentialService)
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.toggle_credential = id => {
|
vm.toggle_credential = credential => {
|
||||||
// This is called only when a checkbox input is clicked directly. Clicks anywhere else on
|
// This is called only when a checkbox input is clicked directly. Clicks anywhere else
|
||||||
// the row or direct radio button clicks invoke the toggle_row handler instead with a
|
// on the row or direct radio button clicks invoke the toggle_row handler instead. We
|
||||||
// different set of arguments. We normalize those arguments here and pass them through to
|
// pass this through to the other function so that the behavior is consistent.
|
||||||
// the other function so that the behavior is consistent.
|
vm.toggle_row(credential);
|
||||||
const credential = scope.credentials.find(c => c.id === id);
|
|
||||||
scope.toggle_row(credential);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.toggle_row = credential => {
|
vm.toggle_row = credential => {
|
||||||
|
|||||||
Reference in New Issue
Block a user