chore: generate
This commit is contained in:
@@ -43,7 +43,9 @@ export default function () {
|
|||||||
</span>
|
</span>
|
||||||
<Show when={userInfo()?.isAdmin}>
|
<Show when={userInfo()?.isAdmin}>
|
||||||
<span data-slot="billing-info">
|
<span data-slot="billing-info">
|
||||||
<Show when={billingInfo()?.customerID} fallback={
|
<Show
|
||||||
|
when={billingInfo()?.customerID}
|
||||||
|
fallback={
|
||||||
<button
|
<button
|
||||||
data-color="primary"
|
data-color="primary"
|
||||||
data-size="sm"
|
data-size="sm"
|
||||||
@@ -52,7 +54,8 @@ export default function () {
|
|||||||
>
|
>
|
||||||
{checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"}
|
{checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"}
|
||||||
</button>
|
</button>
|
||||||
}>
|
}
|
||||||
|
>
|
||||||
<span data-slot="balance">
|
<span data-slot="balance">
|
||||||
Current balance <b>${balance()}</b>
|
Current balance <b>${balance()}</b>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user