Skip to content

Commit

Permalink
Merge pull request #691 from appwrite/fix-small-qa-fixes+
Browse files Browse the repository at this point in the history
fix: stripe error message empty, header button type, budget cap copy
  • Loading branch information
eldadfux authored Dec 27, 2023
2 parents 8a357cb + cc366a7 commit 7a69d59
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/layout/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/stores/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function submitStripeCard(name: string, urlRoute?: string) {
}
} catch (e) {
trackError(e, Submit.PaymentMethodCreate);
throw e.message;
throw e;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

3 comments on commit 7a69d59

@vercel
Copy link

@vercel vercel bot commented on 7a69d59 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 7a69d59 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-preview – ./

console-next.vercel.app
console-preview-appwrite.vercel.app
console-preview-git-main-appwrite.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 7a69d59 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-cloud – ./

console-cloud.vercel.app
console-cloud-git-main-appwrite.vercel.app
console-cloud-appwrite.vercel.app

Please sign in to comment.