Fix repeatable amount display
This commit is contained in:
parent
bffc27344a
commit
5d17d67e00
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