forked from profectus/Profectus
Swap logic for nextAt display
This commit is contained in:
parent
2495dc9783
commit
7750a3368d
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||||
{displayResource(
|
{displayResource(
|
||||||
resetButton.conversion.baseResource,
|
resetButton.conversion.baseResource,
|
||||||
!unref(resetButton.conversion.buyMax) ||
|
!unref(resetButton.conversion.buyMax) &&
|
||||||
Decimal.lt(unref(resetButton.conversion.actualGain), 1)
|
Decimal.gte(unref(resetButton.conversion.actualGain), 1)
|
||||||
? unref(resetButton.conversion.currentAt)
|
? unref(resetButton.conversion.currentAt)
|
||||||
: unref(resetButton.conversion.nextAt)
|
: unref(resetButton.conversion.nextAt)
|
||||||
)}{" "}
|
)}{" "}
|
||||||
|
|
Loading…
Reference in a new issue