We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
openToPublic
1 parent 971d534 commit e29f490Copy full SHA for e29f490
react/src/components/ServiceLauncherPageContent.tsx
@@ -40,11 +40,11 @@ import {
40
App,
41
Button,
42
Card,
43
+ Checkbox,
44
Form,
45
Input,
46
Skeleton,
47
Select,
- Switch,
48
theme,
49
Tooltip,
50
Tag,
@@ -779,12 +779,8 @@ const ServiceLauncherPageContent: React.FC<ServiceLauncherPageContentProps> = ({
779
>
780
<Input disabled={!!endpoint} />
781
</Form.Item>
782
- <Form.Item
783
- name="openToPublic"
784
- label={t('modelService.OpenToPublic')}
785
- valuePropName="checked"
786
- >
787
- <Switch disabled={!!endpoint}></Switch>
+ <Form.Item name="openToPublic" valuePropName="checked">
+ <Checkbox disabled={!!endpoint}>{t('modelService.OpenToPublic')}</Checkbox>
788
789
{!endpoint ? (
790
<Form.Item
0 commit comments