Parcourir la source

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

Lee Morgan il y a 5 ans
Parent
commit
a6b92e5cc5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
             });
         }