A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: install langs select
shuaib7e292ad4c03
diff --git a/ui/src/pages/Install/components/FirstStep/index.tsx b/ui/src/pages/Install/components/FirstStep/index.tsxindex e35a0f29..78b4aac8 100644--- a/ui/src/pages/Install/components/FirstStep/index.tsx+++ b/ui/src/pages/Install/components/FirstStep/index.tsx@@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next';import type { LangsType, FormValue, FormDataType } from '@/common/interface';import Progress from '../Progress';-import { getLanguageOptions } from '@/services';+import { getInstallLangOptions } from '@/services';interface Props {data: FormValue;@@ -18,7 +18,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {const [langs, setLangs] = useState<LangsType[]>();const getLangs = async () => {- const res: LangsType[] = await getLanguageOptions();+ const res: LangsType[] = await getInstallLangOptions();setLangs(res);changeCallback({lang: {