mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Set correct constant for new tier-3
This commit is contained in:
1 parent
848c1dfa9f
commit
bad56508e8
3 files changed
+5
-3
No files matched your search
@@ -467,7 +467,8 @@ export const eventServices: Array<EventService> = [
|
||||
export enum BillingPlan {
|
||||
FREE = 'tier-0',
|
||||
PRO = 'tier-1',
|
||||
SCALE = 'tier-2'
|
||||
SCALE = 'tier-2',
|
||||
GITHUB_EDUCATION = 'tier-3'
|
||||
}
|
||||
|
||||
export const feedbackDowngradeOptions = [
|
||||
|
||||
@@ -34,7 +34,7 @@ import { user } from './user';
|
||||
import { browser } from '$app/environment';
|
||||
import { canSeeBilling } from './roles';
|
||||
|
||||
export type Tier = 'tier-0' | 'tier-1' | 'tier-2';
|
||||
export type Tier = 'tier-0' | 'tier-1' | 'tier-2' | 'tier-3';
|
||||
|
||||
export const roles = [
|
||||
{
|
||||
|
||||
@@ -110,7 +110,8 @@
|
||||
<span class="u-trim">
|
||||
{$organization.name}
|
||||
</span>
|
||||
{#if isCloud && true}
|
||||
<!-- TODO: remove true check below when API change, https://github.com/appwrite-labs/cloud/pull/816, has been merged and deployed -->
|
||||
{#if isCloud && (true || $organization?.billingPlan === BillingPlan.GITHUB_EDUCATION)}
|
||||
<Pill class="eyebrow-heading-3"
|
||||
><span class="icon-github" aria-hidden="true" /> EDUCATION</Pill>
|
||||
{:else if isCloud && $organization?.billingPlan === BillingPlan.FREE}
|
||||
|
||||
Reference in new issue
Block a user