forked from profectus/Profectus
Removed v-show
This commit is contained in:
parent
9370b0ed6f
commit
8fce6ac23e
1 changed files with 14 additions and 12 deletions
|
@ -92,18 +92,20 @@ export function createResetButton<T extends ClickableOptions & ResetButtonOption
|
||||||
)}
|
)}
|
||||||
</b>{" "}
|
</b>{" "}
|
||||||
{resetButton.conversion.gainResource.displayName}
|
{resetButton.conversion.gainResource.displayName}
|
||||||
<div v-show={unref(resetButton.showNextAt)}>
|
{unref(resetButton.showNextAt) ? (
|
||||||
<br />
|
<div>
|
||||||
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
<br />
|
||||||
{displayResource(
|
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||||
resetButton.conversion.baseResource,
|
{displayResource(
|
||||||
unref(resetButton.conversion.buyMax) ||
|
resetButton.conversion.baseResource,
|
||||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
unref(resetButton.conversion.buyMax) ||
|
||||||
? unref(resetButton.conversion.nextAt)
|
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||||
: unref(resetButton.conversion.currentAt)
|
? unref(resetButton.conversion.nextAt)
|
||||||
)}{" "}
|
: unref(resetButton.conversion.currentAt)
|
||||||
{resetButton.conversion.baseResource.displayName}
|
)}{" "}
|
||||||
</div>
|
{resetButton.conversion.baseResource.displayName}
|
||||||
|
</div>
|
||||||
|
) : null}
|
||||||
</span>
|
</span>
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue