From 545aec0063fff7cf21a1ac8f454955583c2de5a4 Mon Sep 17 00:00:00 2001 From: Darshan Date: Fri, 7 Feb 2025 12:34:57 +0530 Subject: [PATCH] update: use current plan name instead of mapping. --- .../organization-[organization]/billing/planSummary.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/billing/planSummary.svelte b/src/routes/(console)/organization-[organization]/billing/planSummary.svelte index ab9e3ae10..447a14bb1 100644 --- a/src/routes/(console)/organization-[organization]/billing/planSummary.svelte +++ b/src/routes/(console)/organization-[organization]/billing/planSummary.svelte @@ -3,7 +3,7 @@ import { Card, CardGrid, Collapsible, CollapsibleItem, Heading } from '$lib/components'; import { Button } from '$lib/elements/forms'; import { toLocaleDate } from '$lib/helpers/date'; - import { plansInfo, tierToPlan, upgradeURL } from '$lib/stores/billing'; + import { plansInfo, upgradeURL } from '$lib/stores/billing'; import { organization } from '$lib/stores/organization'; import type { CreditList, Invoice, Plan } from '$lib/sdk/billing'; import { abbreviateNumber, formatCurrency, formatNumberWithCommas } from '$lib/helpers/numbers'; @@ -48,7 +48,7 @@
- {tierToPlan($organization?.billingPlan)?.name} plan + {currentPlan.name} plan
{isTrial || $organization?.billingPlan === BillingPlan.GITHUB_EDUCATION