chore: generate

This commit is contained in:
GitHub Action
2026-01-23 16:22:07 +00:00
parent 472695caca
commit 4f1bdf1c59

View File

@@ -43,16 +43,19 @@ export default function () {
</span>
<Show when={userInfo()?.isAdmin}>
<span data-slot="billing-info">
<Show when={billingInfo()?.customerID} fallback={
<button
data-color="primary"
data-size="sm"
disabled={checkoutSubmission.pending || store.checkoutRedirecting}
onClick={onClickCheckout}
>
{checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"}
</button>
}>
<Show
when={billingInfo()?.customerID}
fallback={
<button
data-color="primary"
data-size="sm"
disabled={checkoutSubmission.pending || store.checkoutRedirecting}
onClick={onClickCheckout}
>
{checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"}
</button>
}
>
<span data-slot="balance">
Current balance <b>${balance()}</b>
</span>