mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
fix(console): add cloud guard to bring your ui form field
This commit is contained in:
parent
3e58d74af7
commit
708397361c
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import { Trans, useTranslation } from 'react-i18next';
|
|||
|
||||
import CustomUiAssetsUploader from '@/components/CustomUiAssetsUploader';
|
||||
import InlineUpsell from '@/components/InlineUpsell';
|
||||
import { isDevFeaturesEnabled } from '@/consts/env';
|
||||
import { isDevFeaturesEnabled, isCloud } from '@/consts/env';
|
||||
import { SubscriptionDataContext } from '@/contexts/SubscriptionDataProvider';
|
||||
import Card from '@/ds-components/Card';
|
||||
import CodeEditor from '@/ds-components/CodeEditor';
|
||||
|
@ -67,7 +67,7 @@ function CustomUiForm() {
|
|||
)}
|
||||
/>
|
||||
</FormField>
|
||||
{isDevFeaturesEnabled && (
|
||||
{isDevFeaturesEnabled && isCloud && (
|
||||
<FormField
|
||||
title="sign_in_exp.custom_ui.bring_your_ui_title"
|
||||
description={
|
||||
|
|
Loading…
Add table
Reference in a new issue