diff --git a/src/lib/components/billing/alerts/limitReached.svelte b/src/lib/components/billing/alerts/limitReached.svelte index 1a0d70e95..7666658e4 100644 --- a/src/lib/components/billing/alerts/limitReached.svelte +++ b/src/lib/components/billing/alerts/limitReached.svelte @@ -5,7 +5,7 @@ import { BillingPlan } from '$lib/constants'; import { Button } from '$lib/elements/forms'; import { HeaderAlert } from '$lib/layout'; - import { readOnly, tierToPlan } from '$lib/stores/billing'; + import { readOnly, tierToPlan, upgradeURL } from '$lib/stores/billing'; import { organization } from '$lib/stores/organization'; @@ -25,7 +25,7 @@ View usage { trackEvent('click_organization_upgrade', { from: 'button', diff --git a/src/lib/components/cardPlanLimit.svelte b/src/lib/components/cardPlanLimit.svelte index 293cc8f99..51fd5242e 100644 --- a/src/lib/components/cardPlanLimit.svelte +++ b/src/lib/components/cardPlanLimit.svelte @@ -1,7 +1,6 @@ @@ -9,8 +8,6 @@ Upgrade your plan to add more {service} - - Change plan - + Change plan diff --git a/src/lib/components/support.svelte b/src/lib/components/support.svelte index ce925487e..ec768ed4a 100644 --- a/src/lib/components/support.svelte +++ b/src/lib/components/support.svelte @@ -9,7 +9,7 @@ import { BillingPlan } from '$lib/constants'; import { trackEvent } from '$lib/actions/analytics'; import { localeTimezoneName, utcHourToLocaleHour } from '$lib/helpers/date'; - import { base } from '$app/paths'; + import { upgradeURL } from '$lib/stores/billing'; export let show = false; @@ -33,7 +33,7 @@ {#if $organization?.billingPlan === BillingPlan.STARTER} { trackEvent('click_organization_upgrade', { from: 'button', diff --git a/src/lib/elements/table/body.svelte b/src/lib/elements/table/body.svelte index e7d04cad4..eaca43a10 100644 --- a/src/lib/elements/table/body.svelte +++ b/src/lib/elements/table/body.svelte @@ -1,9 +1,7 @@
Upgrade your plan to add more {service}