From 8fce6ac23e8d53b7b8708746dc63cc6c0df31d8d Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 7 Jun 2022 19:07:04 -0500 Subject: [PATCH] Removed v-show --- src/data/common.tsx | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/data/common.tsx b/src/data/common.tsx index 7792fab..45f6321 100644 --- a/src/data/common.tsx +++ b/src/data/common.tsx @@ -92,18 +92,20 @@ export function createResetButton{" "} {resetButton.conversion.gainResource.displayName} -
-
- {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} -
+ {unref(resetButton.showNextAt) ? ( +
+
+ {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} +
+ ) : null} )); }