mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
clean up launch prompt credentials, display errors
This commit is contained in:
@@ -66,6 +66,9 @@ function LaunchPrompt({ config, resource, onLaunch, onCancel, i18n }) {
|
||||
if (values.inventory) {
|
||||
postValues.inventory_id = values.inventory.id;
|
||||
}
|
||||
if (values.credentials) {
|
||||
postValues.credentials = values.credentials.map(c => c.id);
|
||||
}
|
||||
onLaunch(postValues);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user