aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-17 20:48:54 -0500
committermat <github@matdoes.dev>2022-05-17 20:48:54 -0500
commitc057eb0aaed4a746f2d3a4f15688ef21cc6213b3 (patch)
tree57bac921c523da7daaffa3119d8f47e79dee7894 /src/routes
parent7a04672666e9c366e7bbf241ed82efe481dc9492 (diff)
downloadskyblock-stats-c057eb0aaed4a746f2d3a4f15688ef21cc6213b3.tar.gz
skyblock-stats-c057eb0aaed4a746f2d3a4f15688ef21cc6213b3.tar.bz2
skyblock-stats-c057eb0aaed4a746f2d3a4f15688ef21cc6213b3.zip
fixes and improved tooltip
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/auctionprices.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/auctionprices.svelte b/src/routes/auctionprices.svelte
index eccaab7..3c301d0 100644
--- a/src/routes/auctionprices.svelte
+++ b/src/routes/auctionprices.svelte
@@ -72,11 +72,11 @@
<input type="text" id="filter-items-tier" placeholder="Search..." bind:value={query} />
</div>
<div class="item-list">
- {#each data as item (item._id)}
+ {#each data as item (item.id)}
{@const binAuctions = item.auctions.filter(i => i.bin)}
{@const normalAuctions = item.auctions.filter(i => !i.bin)}
<div class="item-container">
- <h2>{auctionItems[item._id]}</h2>
+ <h2>{auctionItems[item.id]}</h2>
<div class="auctions-info-text">
{#if binAuctions.length > 0}
<p>