@@ -147,7 +147,7 @@
}
- if(addIngredients > 0){
+ if(addIngredients.length > 0){
fetch("/merchant/ingredients/add", {
method: "PUT",
headers: {