mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix typo
This commit is contained in:
1 parent
7b5e65dfc3
commit
6e23bb5bf5
2 files changed
+3
-3
No files matched your search
@@ -12,11 +12,11 @@
|
||||
import { abbreviateNumber } from '$lib/helpers/numbers';
|
||||
import { formatNum } from '$lib/helpers/string';
|
||||
import { onMount } from 'svelte';
|
||||
import type { Aggregation } from '$lib/sdk/billing';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { BillingPlan } from '$lib/constants';
|
||||
import { Alert, Icon, Table, Tooltip } from '@appwrite.io/pink-svelte';
|
||||
import { IconInfo } from '@appwrite.io/pink-icons-svelte';
|
||||
import type { AggregationTeam } from '$lib/sdk/billing';
|
||||
|
||||
export let tier: Tier;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import { cachedStore } from '$lib/helpers/cache';
|
||||
import { type Size, sizeToBytes } from '$lib/helpers/sizeConvertion';
|
||||
import type {
|
||||
AddressesList,
|
||||
Aggregation,
|
||||
AggregationTeam,
|
||||
Invoice,
|
||||
InvoiceList,
|
||||
PaymentList,
|
||||
@@ -619,7 +619,7 @@ export const billingURL = derived(
|
||||
|
||||
export const hideBillingHeaderRoutes = ['/console/create-organization', '/console/account'];
|
||||
|
||||
export function calculateExcess(addon: Aggregation, plan: Plan) {
|
||||
export function calculateExcess(addon: AggregationTeam, plan: Plan) {
|
||||
return {
|
||||
bandwidth: calculateResourceSurplus(addon.usageBandwidth, plan.bandwidth),
|
||||
storage: calculateResourceSurplus(addon.usageStorage, plan.storage, 'GB'),
|
||||
|
||||
Reference in new issue
Block a user