Merge pull request #691 from appwrite/fix-small-qa-fixes+

fix: stripe error message empty, header button type, budget cap copy
This commit is contained in:
Eldad A. Fux
2023-12-27 18:35:06 +01:00
committed by GitHub
3 changed files with 7 additions and 3 deletions
-1
View File
@@ -120,7 +120,6 @@
{#if isCloud && $organization?.billingPlan === 'tier-0' && !$page.url.pathname.startsWith('/console/account')}
<Button
disabled={$organization?.markedForDeletion}
secondary
on:click={() => wizard.start(ChangeOrganizationTierCloud)}>
Upgrade
</Button>
+1 -1
View File
@@ -91,7 +91,7 @@ export async function submitStripeCard(name: string, urlRoute?: string) {
}
} catch (e) {
trackError(e, Submit.PaymentMethodCreate);
throw e.message;
throw e;
}
}
@@ -74,7 +74,12 @@
</Alert>
{:else}
<FormList>
<InputSwitch id="capActive" label="Enable budget cap" bind:value={capActive} />
<InputSwitch id="cap-active" label="Enable budget cap" bind:value={capActive}>
<svelte:fragment slot="description">
Budget cap limits do not include the base amount of your plan. Cap usage
is reset at the beginning of each billing cycle.
</svelte:fragment>
</InputSwitch>
{#if capActive}
<InputNumber
placeholder="Add budget cap"