Explorar o código

Merge branch 'development'

Lee Morgan %!s(int64=6) %!d(string=hai) anos
pai
achega
fad2fc6d31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      views/dashboardPage/components/addIngredients.ejs

+ 1 - 1
views/dashboardPage/components/addIngredients.ejs

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