Răsfoiți Sursa

Fix small bug on frontend

Lee Morgan 5 ani în urmă
părinte
comite
f99a130357
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      views/dashboardPage/bundle.js
  2. 1 1
      views/dashboardPage/js/newOrder.js

+ 1 - 1
views/dashboardPage/bundle.js

@@ -2807,7 +2807,7 @@ let newOrder = {
                                 ingredients.push({
                                     ingredient: merchant.ingredients[j].ingredient,
                                     quantity: response.ingredients[i].quantity,
-                                    pricePerUnit: response.ingredients[j].pricePerUnit
+                                    pricePerUnit: response.ingredients[i].pricePerUnit
                                 });
 
                                 break;

+ 1 - 1
views/dashboardPage/js/newOrder.js

@@ -115,7 +115,7 @@ let newOrder = {
                                 ingredients.push({
                                     ingredient: merchant.ingredients[j].ingredient,
                                     quantity: response.ingredients[i].quantity,
-                                    pricePerUnit: response.ingredients[j].pricePerUnit
+                                    pricePerUnit: response.ingredients[i].pricePerUnit
                                 });
 
                                 break;