chore: disable custom domain on free (#463)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
import TextArea from '$lib/components/Form/TextArea.svelte';
|
import TextArea from '$lib/components/Form/TextArea.svelte';
|
||||||
import PrimaryButton from '$lib/components/PrimaryButton/index.svelte';
|
import PrimaryButton from '$lib/components/PrimaryButton/index.svelte';
|
||||||
import { VARIANTS } from '$lib/components/PrimaryButton/constants';
|
import { VARIANTS } from '$lib/components/PrimaryButton/constants';
|
||||||
import { currentOrg } from '$lib/utils/store/org';
|
import { currentOrg, isFreePlan } from '$lib/utils/store/org';
|
||||||
import type { CurrentOrg } from '$lib/utils/types/org';
|
import type { CurrentOrg } from '$lib/utils/types/org';
|
||||||
import { supabase } from '$lib/utils/functions/supabase';
|
import { supabase } from '$lib/utils/functions/supabase';
|
||||||
import { blockedSubdomain } from '$lib/utils/constants/app';
|
import { blockedSubdomain } from '$lib/utils/constants/app';
|
||||||
@@ -349,6 +349,7 @@
|
|||||||
helperMessage="https://{customDomain || 'course.yourwebsite.com'}"
|
helperMessage="https://{customDomain || 'course.yourwebsite.com'}"
|
||||||
errorMessage={errors.customDomain}
|
errorMessage={errors.customDomain}
|
||||||
className="w-4/5"
|
className="w-4/5"
|
||||||
|
isDisabled={$isFreePlan}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="flex items-center mt-5">
|
<div class="flex items-center mt-5">
|
||||||
|
|||||||
Reference in New Issue
Block a user