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)}</>,
|
<>Amount: {formatWhole(genericRepeatable.amount.value)}</>,
|
||||||
{unref(genericRepeatable.limit) !== Decimal.dInf ? (
|
{unref(genericRepeatable.limit) !== Decimal.dInf ? (
|
||||||
<> / {formatWhole(unref(genericRepeatable.limit))}</>
|
<> / {formatWhole(unref(genericRepeatable.limit))}</>
|
||||||
) : undefined},
|
) : 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)
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue