Explorar o código

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

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
a6b92e5cc5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
             });
         }