mirror of https://github.com/langgenius/dify.git
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…
Reference in New Issue