mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Fix repeatable amount display
This commit is contained in:
parent
fe65db7f37
commit
c85155f658
1 changed files with 2 additions and 4 deletions
|
@ -235,12 +235,10 @@ export function createRepeatable<T extends RepeatableOptions>(
|
||||||
{currDisplay.showAmount === false ? null : (
|
{currDisplay.showAmount === false ? null : (
|
||||||
<div>
|
<div>
|
||||||
<br />
|
<br />
|
||||||
joinJSX(
|
<>Amount: {formatWhole(genericRepeatable.amount.value)}</>
|
||||||
<>Amount: {formatWhole(genericRepeatable.amount.value)}</>,
|
{Decimal.isFinite(unref(genericRepeatable.limit)) ? (
|
||||||
{unref(genericRepeatable.limit) !== Decimal.dInf ? (
|
|
||||||
<> / {formatWhole(unref(genericRepeatable.limit))}</>
|
<> / {formatWhole(unref(genericRepeatable.limit))}</>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
)
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{currDisplay.effectDisplay == null ? null : (
|
{currDisplay.effectDisplay == null ? null : (
|
||||||
|
|
Loading…
Reference in a new issue