mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-24 09:43:35 -05:00
Address review feedback.
This commit is contained in:
@@ -74,13 +74,8 @@ class APIClient {
|
||||
return this.http.get(API_INSTANCE_GROUPS);
|
||||
}
|
||||
|
||||
createInstanceGroups (url, selected) {
|
||||
if (selected.length > 0) {
|
||||
selected.forEach(select => {
|
||||
this.http.post(url, { id: select.id });
|
||||
});
|
||||
}
|
||||
return false;
|
||||
createInstanceGroups (url, id) {
|
||||
return this.http.post(url, { id });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user