Fix reset buttons not displaying Req if buyMax is true (but computed)
This commit is contained in:
parent
8fbecbbd4e
commit
4f39dbc7f9
1 changed files with 2 additions and 2 deletions
|
@ -106,10 +106,10 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
{resetButton.conversion.gainResource.displayName}
|
{resetButton.conversion.gainResource.displayName}
|
||||||
<div v-show={unref(resetButton.showNextAt)}>
|
<div v-show={unref(resetButton.showNextAt)}>
|
||||||
<br />
|
<br />
|
||||||
{resetButton.conversion.buyMax ? "Next:" : "Req:"}{" "}
|
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||||
{displayResource(
|
{displayResource(
|
||||||
resetButton.conversion.baseResource,
|
resetButton.conversion.baseResource,
|
||||||
resetButton.conversion.buyMax ||
|
unref(resetButton.conversion.buyMax) ||
|
||||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||||
? unref(resetButton.conversion.nextAt)
|
? unref(resetButton.conversion.nextAt)
|
||||||
: unref(resetButton.conversion.currentAt)
|
: unref(resetButton.conversion.currentAt)
|
||||||
|
|
Loading…
Reference in a new issue