mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Remove decorated data from generic repeatable display
This commit is contained in:
parent
c585a5d1b1
commit
4b2fa80d4c
1 changed files with 1 additions and 6 deletions
|
@ -225,12 +225,7 @@ export function createRepeatable<T extends RepeatableOptions>(
|
|||
<>Amount: {formatWhole(genericRepeatable.amount.value)}</>,
|
||||
{unref(genericRepeatable.limit) !== Decimal.dInf ? (
|
||||
<> / {formatWhole(unref(genericRepeatable.limit))}</>
|
||||
) : undefined},
|
||||
{(genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount == null ? null : (
|
||||
Decimal.gt(unref((genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount), 0) ? (
|
||||
<> + {formatWhole(unref((genericRepeatable as GenericRepeatable & GenericBonusAmountFeature).bonusAmount))}</>
|
||||
) : undefined)
|
||||
}
|
||||
) : undefined}
|
||||
)
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue