mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
fix: image
This commit is contained in:
parent
1007f67ab1
commit
1b100660af
@ -323,7 +323,10 @@
|
||||
} else if (messages.length != 0 && messages.at(-1).done != true) {
|
||||
// Response not done
|
||||
console.log('wait');
|
||||
} else if (files.length > 0 && files.filter((file) => file.status !== 'processed').length > 0) {
|
||||
} else if (
|
||||
files.length > 0 &&
|
||||
files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0
|
||||
) {
|
||||
// Upload not done
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
|
Loading…
Reference in New Issue
Block a user