diff --git a/src/lib/components/filters/content.svelte b/src/lib/components/filters/content.svelte index 6da14dcc6..098376a90 100644 --- a/src/lib/components/filters/content.svelte +++ b/src/lib/components/filters/content.svelte @@ -115,7 +115,7 @@
-
+
    ({ @@ -130,7 +130,7 @@ options={operatorsForColumn} placeholder="Select operator" bind:value={operatorKey} /> -
+ {#if column && operator && !operator?.hideInput}
{#if column.type === 'integer' || column.type === 'double'} diff --git a/src/lib/layout/header.svelte b/src/lib/layout/header.svelte index 8047d102b..da3aa7e7b 100644 --- a/src/lib/layout/header.svelte +++ b/src/lib/layout/header.svelte @@ -121,7 +121,6 @@ {#if isCloud && $organization?.billingPlan === BillingPlan.STARTER && !$page.url.pathname.startsWith('/console/account')} diff --git a/src/lib/stores/stripe.ts b/src/lib/stores/stripe.ts index 4f81173de..98efcce63 100644 --- a/src/lib/stores/stripe.ts +++ b/src/lib/stores/stripe.ts @@ -91,7 +91,7 @@ export async function submitStripeCard(name: string, urlRoute?: string) { } } catch (e) { trackError(e, Submit.PaymentMethodCreate); - throw e.message; + throw e; } } diff --git a/src/routes/console/organization-[organization]/billing/budgetCap.svelte b/src/routes/console/organization-[organization]/billing/budgetCap.svelte index 0f0cc59a9..137c70ba4 100644 --- a/src/routes/console/organization-[organization]/billing/budgetCap.svelte +++ b/src/routes/console/organization-[organization]/billing/budgetCap.svelte @@ -74,7 +74,12 @@ {:else} - + + + Budget cap limits do not include the base amount of your plan. Cap usage + is reset at the beginning of each billing cycle. + + {#if capActive} Permissions

- Assign read or write permissions at the collection level or - document level. If collection level permissions are assigned, permissions applied - to individual documents are ignored. + A user requires appropriate permissions at either the collection level or + document level to access a document. If no permissions are configured, no user + can access the document + Learn more about database permissions.

diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte index 752390929..d02d6dd5c 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte @@ -53,7 +53,7 @@ const projectId = $page.params.project; const bucketId = $page.params.bucket; - const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'MB'); + const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'GB'); const getPreview = (fileId: string) => sdk.forProject.storage.getFilePreview(bucketId, fileId, 32, 32).toString() + '&mode=admin';