mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +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) {
|
} else if (messages.length != 0 && messages.at(-1).done != true) {
|
||||||
// Response not done
|
// Response not done
|
||||||
console.log('wait');
|
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
|
// Upload not done
|
||||||
toast.error(
|
toast.error(
|
||||||
$i18n.t(
|
$i18n.t(
|
||||||
|
Loading…
Reference in New Issue
Block a user