mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 22:09:03 +08:00
fix: use supported languages only for install form (#2844)
This commit is contained in:
parent
f29280ba5c
commit
156345cb4b
@ -171,8 +171,8 @@ const ActivateForm = () => {
|
||||
</label>
|
||||
<div className="relative mt-1 rounded-md shadow-sm">
|
||||
<SimpleSelect
|
||||
defaultValue={defaultLanguage()}
|
||||
items={languages}
|
||||
defaultValue={LanguagesSupported[0]}
|
||||
items={languages.filter(item => item.supported)}
|
||||
onSelect={(item) => {
|
||||
setLanguage(item.value as string)
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user