diff --git a/assets/js/pages/services.js b/assets/js/pages/services.js index 4e67ce86..d755763e 100644 --- a/assets/js/pages/services.js +++ b/assets/js/pages/services.js @@ -407,11 +407,11 @@ App.Pages.Services = (function () { App.Http.ServiceCategories.search('', 999).then((response) => { $serviceCategoryId.empty(); + $serviceCategoryId.append(new Option('', '')).val(''); + response.forEach((serviceCategory) => { $serviceCategoryId.append(new Option(serviceCategory.name, serviceCategory.id)); }); - - $serviceCategoryId.append(new Option('', '')).val(''); }); }