Parcourir la source

Merge branch 'development'

Lee Morgan il y a 6 ans
Parent
commit
fad2fc6d31
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: {