Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: use supported languages only for install form (#2844)

crazywoola156345cb4b16
diff --git a/web/app/activate/activateForm.tsx b/web/app/activate/activateForm.tsx
index be3706037b8..eaaa86988ce 100644
--- a/web/app/activate/activateForm.tsx
+++ b/web/app/activate/activateForm.tsx
@@ -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)
}}