mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-25 01:41:44 +00:00
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>{" "}
|
||||
{resetButton.conversion.gainResource.displayName}
|
||||
<div v-show={unref(resetButton.showNextAt)}>
|
||||
<br />
|
||||
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||
{displayResource(
|
||||
resetButton.conversion.baseResource,
|
||||
unref(resetButton.conversion.buyMax) ||
|
||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||
? unref(resetButton.conversion.nextAt)
|
||||
: unref(resetButton.conversion.currentAt)
|
||||
)}{" "}
|
||||
{resetButton.conversion.baseResource.displayName}
|
||||
</div>
|
||||
{unref(resetButton.showNextAt) ? (
|
||||
<div>
|
||||
<br />
|
||||
{unref(resetButton.conversion.buyMax) ? "Next:" : "Req:"}{" "}
|
||||
{displayResource(
|
||||
resetButton.conversion.baseResource,
|
||||
unref(resetButton.conversion.buyMax) ||
|
||||
Decimal.floor(unref(resetButton.conversion.actualGain)).neq(1)
|
||||
? unref(resetButton.conversion.nextAt)
|
||||
: unref(resetButton.conversion.currentAt)
|
||||
)}{" "}
|
||||
{resetButton.conversion.baseResource.displayName}
|
||||
</div>
|
||||
) : null}
|
||||
</span>
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue