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(api): add support for "image" icon when duplicate app (#20744) (#20761)

HyaCinthd4be356ffb25
diff --git a/api/services/app_dsl_service.py b/api/services/app_dsl_service.py
index d2875180d82..1b026acfd6e 100644
--- a/api/services/app_dsl_service.py
+++ b/api/services/app_dsl_service.py
@@ -421,7 +421,7 @@ class AppDslService:
# Set icon type
icon_type_value = icon_type or app_data.get("icon_type")
- if icon_type_value in ["emoji", "link"]:
+ if icon_type_value in ["emoji", "link", "image"]:
icon_type = icon_type_value
else:
icon_type = "emoji"