Skip to content

Commit 366e96a

Browse files
committed
hide retry button while captcha is active
1 parent 5be4c9b commit 366e96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/hub-billing/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ <h2 class="font-h2 mb-4 mt-12">
176176
{{ i18n "hub_billing_manage_license_key_instruction" . }}
177177
</p>
178178
<textarea x-model="subscriptionData.token" class="input-box w-full text-sm md:text-base leading-relaxed break-all" rows="6" readonly></textarea>
179-
<button x-show="!subscriptionData.token" :disabled="subscriptionData.inProgress" @click.prevent="subscriptionData.errorMessage = ''; subscriptionData.needsTokenRefresh = true" class="btn btn-primary text-center w-full md:w-64 mt-4">
179+
<button x-show="!subscriptionData.token && !subscriptionData.needsTokenRefresh" :disabled="subscriptionData.inProgress" @click.prevent="subscriptionData.errorMessage = ''; subscriptionData.needsTokenRefresh = true" class="btn btn-primary text-center w-full md:w-64 mt-4">
180180
{{ i18n "hub_billing_manage_license_key_retry_action" . }}
181181
</button>
182182
<button x-show="subscriptionData.token" :disabled="subscriptionData.inProgress" class="btn btn-primary text-center w-full md:w-64 mt-4" @click.prevent="hubSubscription.transferTokenToHub()">

0 commit comments

Comments
 (0)