forked from profectus/Profectus
Fix conversion utility showing currentAt instead of nextAt
This commit is contained in:
parent
4d7f03d543
commit
0e1915f511
1 changed files with 3 additions and 3 deletions
|
@ -134,9 +134,9 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
{displayResource(
|
{displayResource(
|
||||||
resetButton.conversion.baseResource,
|
resetButton.conversion.baseResource,
|
||||||
unref(resetButton.conversion.buyMax) ||
|
unref(resetButton.conversion.buyMax) ||
|
||||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
Decimal.lt(unref(resetButton.conversion.actualGain), 1)
|
||||||
? unref(resetButton.conversion.nextAt)
|
? unref(resetButton.conversion.currentAt)
|
||||||
: unref(resetButton.conversion.currentAt)
|
: unref(resetButton.conversion.nextAt)
|
||||||
)}{" "}
|
)}{" "}
|
||||||
{resetButton.conversion.baseResource.displayName}
|
{resetButton.conversion.baseResource.displayName}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue