mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 19:55:56 +08:00
fix: image.enable
This commit is contained in:
parent
a7d53abba9
commit
2a0b30de5c
@ -75,7 +75,7 @@ const ChatWrapper = () => {
|
||||
parent_message_id: last_answer?.id || getLastAnswer(chatListRef.current)?.id || null,
|
||||
}
|
||||
|
||||
if (appConfig?.file_upload?.image.enabled && files?.length)
|
||||
if (appConfig?.file_upload?.image?.enabled && files?.length)
|
||||
data.files = files
|
||||
|
||||
handleSend(
|
||||
|
@ -156,7 +156,7 @@ const Answer: FC<AnswerProps> = ({
|
||||
)
|
||||
}
|
||||
{
|
||||
allFiles?.length && (
|
||||
!!allFiles?.length && (
|
||||
<FileList
|
||||
className='my-1'
|
||||
files={allFiles}
|
||||
|
@ -77,7 +77,7 @@ const ChatWrapper = () => {
|
||||
parent_message_id: last_answer?.id || getLastAnswer(chatListRef.current)?.id || null,
|
||||
}
|
||||
|
||||
if (appConfig?.file_upload?.image.enabled && files?.length)
|
||||
if (appConfig?.file_upload?.image?.enabled && files?.length)
|
||||
data.files = files
|
||||
|
||||
handleSend(
|
||||
|
Loading…
x
Reference in New Issue
Block a user