Fixed formatting issue
This commit is contained in:
@@ -107,9 +107,9 @@
|
||||
appraisePanel.innerText = "Appraising items...";
|
||||
iteminfo.forEach(item => {
|
||||
console.log(`Market Value of ${item.qty} ${item.item_name}: ${item.market * item.qty}. Bazaar Avg: ${item.bazaar_average * item.qty}. Bazaar Min: ${item.bazaar_min * item.qty}`);
|
||||
values.bazaar_min += currencyFormatter.format(item.bazaar_min * item.qty);
|
||||
values.bazaar_average += currencyFormatter.format(item.bazaar_average * item.qty);
|
||||
values.market += currencyFormatter.format(item.market * item.qty);
|
||||
values.bazaar_min = currencyFormatter.format(item.bazaar_min * item.qty);
|
||||
values.bazaar_average = currencyFormatter.format(item.bazaar_average * item.qty);
|
||||
values.market = currencyFormatter.format(item.market * item.qty);
|
||||
});
|
||||
// TODO: Update UI Elements
|
||||
appraisePanel.innerText = `Quick Sell: ${values.bazaar_min} | Market: ${values.market} | Bazaar Avg: ${values.bazaar_average}`;
|
||||
|
||||
Reference in New Issue
Block a user