Browse Source

Merge branch 'development'

Lee Morgan 6 years ago
parent
commit
fad2fc6d31
1 changed files with 1 additions and 1 deletions
  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: {