diff --git a/apps/frontend/auctions/components/results/Selected.svelte b/apps/frontend/auctions/components/results/Selected.svelte index a8a1bb0c1..ae15ea720 100644 --- a/apps/frontend/auctions/components/results/Selected.svelte +++ b/apps/frontend/auctions/components/results/Selected.svelte @@ -5,6 +5,7 @@ import { Region } from '@/enums/region'; import { wowthingData } from '@/shared/stores/data'; import { leftPad } from '@/utils/formatting'; + import { applyBonusIds } from '@/utils/items/apply-bonus-ids'; import IconifyWrapper from '@/shared/components/images/IconifyWrapper.svelte'; @@ -41,7 +42,11 @@ } .quantity { text-align: right; - width: 5.5rem; + width: 3.5rem; + } + .level { + text-align: right; + width: 3rem; } .price { text-align: right; @@ -54,7 +59,8 @@ Realm - Lvl/Qty + Qty + Lvl @@ -66,6 +72,7 @@ L O A D I N G . . . + {:then auctions} @@ -89,12 +96,24 @@ {realm.displayText} + {auction.quantity.toLocaleString()} + + {#if auction.petSpeciesId} {auction.petLevel} {:else} - {auction.quantity.toLocaleString()} + {@const item = wowthingData.items.items[auction.itemId]} + {#if item} + {@const { itemLevel, quality } = applyBonusIds( + auction.bonusIds, + { itemLevel: item.itemLevel, quality: item.quality } + )} + + {itemLevel} + + {/if} {/if}