Android build v1.1.23
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { CombatLogEntry } from '../game'
|
||||
import type { RunBossCoinAward } from '../combat/rewardSummaries'
|
||||
import type { DungeonReward, LootRoll } from '../profile'
|
||||
|
||||
type BonusItem = NonNullable<DungeonReward['bonusItem']>
|
||||
@@ -119,14 +120,16 @@ export function LootRollList({
|
||||
|
||||
export function PvpRunLootList({
|
||||
loot,
|
||||
emptyLabel = 'No boss coins awarded',
|
||||
}: {
|
||||
loot: BonusItem[]
|
||||
loot: RunBossCoinAward[]
|
||||
emptyLabel?: string
|
||||
}) {
|
||||
return (
|
||||
<div className="run-loot-rolls">
|
||||
{loot.length > 0 ? loot.map((item, index) => (
|
||||
<div className="dropped" key={`${item.id}-${index}`}>
|
||||
<strong>Boss {index + 1}</strong>
|
||||
<strong>{item.sourceLabel}</strong>
|
||||
<span>
|
||||
{item.glyph} {item.name} x{item.quantity}
|
||||
{item.duplicate ? ` (owned x${item.quantityAfter})` : ''}
|
||||
@@ -134,8 +137,8 @@ export function PvpRunLootList({
|
||||
</div>
|
||||
)) : (
|
||||
<div>
|
||||
<strong>Loot</strong>
|
||||
<span>No boss loot awarded</span>
|
||||
<strong>Boss Coins</strong>
|
||||
<span>{emptyLabel}</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user