Skip to content

Commit

Permalink
Merge pull request #1576 from appwrite/fix-show-usage-and-plan-change…
Browse files Browse the repository at this point in the history
…-button-for-gh-edu

Show estimated usage and upgrade button again for GH education plan
  • Loading branch information
ItzNotABug authored Dec 23, 2024
2 parents 4145174 + 5832183 commit b5a0cc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
</Collapsible>
</svelte:fragment>
<svelte:fragment slot="actions">
{#if $organization?.billingPlan === BillingPlan.FREE}
{#if $organization?.billingPlan === BillingPlan.FREE || $organization?.billingPlan === BillingPlan.GITHUB_EDUCATION}
<div class="u-flex u-gap-16 u-flex-wrap">
<Button text href={`${base}/organization-${$organization?.$id}/usage`}>
View estimated usage
Expand All @@ -202,7 +202,7 @@
Upgrade
</Button>
</div>
{:else if $organization?.billingPlan !== BillingPlan.GITHUB_EDUCATION}
{:else}
<div class="u-flex u-gap-16 u-flex-wrap">
<Button
text
Expand Down

0 comments on commit b5a0cc6

Please sign in to comment.