Selaa lähdekoodia

Fix bugs in display most used ingredients on the home page.

Lee Morgan 5 vuotta sitten
vanhempi
sitoutus
a6b92e5cc5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      views/dashboardPage/js/strands/home.js

+ 1 - 1
views/dashboardPage/js/strands/home.js

@@ -58,7 +58,7 @@ let home = {
             ingredients.push({
                 inventoryItem: merchant.inventory[i],
                 unitCost: merchant.inventory[i].ingredient.getUnitCost(),
-                totalCost: totalCost / 100
+                totalCost: totalCost
             });
         }