Address review feedback.

This commit is contained in:
kialam
2019-01-15 15:15:17 -05:00
parent e8fe6fe33c
commit fc32cf026f
4 changed files with 11 additions and 18 deletions

View File

@@ -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 });
}
}