mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
Revert "fix: fix duplicate app lose custom image" (#19995)
This commit is contained in:
@ -24,7 +24,6 @@ export type DuplicateAppModalProps = {
|
||||
onConfirm: (info: {
|
||||
name: string
|
||||
icon_type: AppIconType
|
||||
icon_url?: string | null
|
||||
icon: string
|
||||
icon_background?: string | null
|
||||
}) => Promise<void>
|
||||
@ -64,7 +63,6 @@ const DuplicateAppModal = ({
|
||||
name,
|
||||
icon_type: appIcon.type,
|
||||
icon: appIcon.type === 'emoji' ? appIcon.icon : appIcon.fileId,
|
||||
icon_url: appIcon.type === 'image' ? appIcon.url : undefined,
|
||||
icon_background: appIcon.type === 'emoji' ? appIcon.background : undefined,
|
||||
})
|
||||
onHide()
|
||||
|
||||
Reference in New Issue
Block a user