This commit is contained in:
Ruin0x11
2020-06-02 17:43:18 -07:00
parent 7bcefeb347
commit 1be947e946
13 changed files with 175 additions and 206 deletions

View File

@ -16,8 +16,7 @@ class PoolCreateController {
return;
}
PoolCategoryList.get()
.then(poolCategoriesResponse => {
PoolCategoryList.get().then(poolCategoriesResponse => {
const categories = {};
for (let category of poolCategoriesResponse.results) {
categories[category.name] = category.name;