fix: more store fixes.

This commit is contained in:
Darshan
2026-01-28 15:01:47 +05:30
parent 7a3af23116
commit de14d18137
2 changed files with 3 additions and 2 deletions
@@ -17,6 +17,7 @@
export let func: Models.Function;
export let specs: Models.SpecificationList;
let specification = func.specification;
let originalSpecification = func.specification;
$: originalSpecification = func.specification;
@@ -61,7 +61,7 @@
<!-- always show upgrade on free -->
{#if planHasGroup(currentBillingPlan, BillingPlanGroup.Starter)}
<Button href={getChangePlanUrl($organization.$id)}>
<Button href={getChangePlanUrl(data.project.teamId)}>
<span class="text">Upgrade</span>
</Button>
{/if}
@@ -86,7 +86,7 @@
<p class="text">
If you exceed the limits of the {currentBillingPlan.name} plan, services for your projects
may be disrupted.
<Link.Anchor href={getChangePlanUrl($organization.$id)} class="link"
<Link.Anchor href={getChangePlanUrl(data.project.teamId)} class="link"
>Upgrade for greater capacity</Link.Anchor
>.
</p>