mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
lint.
This commit is contained in:
@@ -47,8 +47,8 @@
|
||||
title={` Your organization will switch to ${tierToPlan(BillingPlan.FREE).name} plan on ${toLocaleDate(
|
||||
$organization.billingNextInvoiceDate
|
||||
)}`}>
|
||||
You will retain access to {tierToPlan($organization.billingPlan).name} plan features until
|
||||
your billing period ends. After that,
|
||||
You will retain access to {tierToPlan($organization.billingPlan).name} plan features until your
|
||||
billing period ends. After that,
|
||||
{#if excess?.members > 0}<span class="u-bold">
|
||||
all team members except the owner will be removed,</span>
|
||||
{:else}
|
||||
|
||||
@@ -16,7 +16,7 @@ export type OrganizationError = {
|
||||
export type Organization = Models.Team<Record<string, unknown>> & {
|
||||
billingBudget: number;
|
||||
billingPlan: Tier;
|
||||
billingPlanDetails: Plan; /* unused for now! */
|
||||
billingPlanDetails: Plan /* unused for now! */;
|
||||
budgetAlerts: number[];
|
||||
paymentMethodId: string;
|
||||
backupPaymentMethodId: string;
|
||||
|
||||
@@ -51,8 +51,7 @@
|
||||
{currentPlan.name} plan
|
||||
</Typography.Text>
|
||||
<Typography.Text>
|
||||
{isTrial ||
|
||||
$organization?.billingPlan === BillingPlan.GITHUB_EDUCATION
|
||||
{isTrial || $organization?.billingPlan === BillingPlan.GITHUB_EDUCATION
|
||||
? formatCurrency(0)
|
||||
: currentPlan
|
||||
? formatCurrency(currentPlan?.price)
|
||||
|
||||
@@ -68,11 +68,7 @@
|
||||
keys: ['c'],
|
||||
disabled:
|
||||
$wizard.show ||
|
||||
isServiceLimited(
|
||||
'functions',
|
||||
$organization?.billingPlan,
|
||||
data.functions?.total
|
||||
) ||
|
||||
isServiceLimited('functions', $organization?.billingPlan, data.functions?.total) ||
|
||||
!$canWriteFunctions,
|
||||
icon: IconPlus,
|
||||
group: 'functions'
|
||||
|
||||
+1
-2
@@ -26,8 +26,7 @@
|
||||
import { IconExternalLink } from '@appwrite.io/pink-icons-svelte';
|
||||
|
||||
$: buttonDisabled =
|
||||
isCloud &&
|
||||
isServiceLimited('functions', $organization?.billingPlan, $functionsList?.total);
|
||||
isCloud && isServiceLimited('functions', $organization?.billingPlan, $functionsList?.total);
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
|
||||
Reference in New Issue
Block a user