mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 23:13:30 +00:00
fix
This commit is contained in:
parent
31f768bf8a
commit
807cfdecfb
@ -323,7 +323,7 @@
|
||||
} 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.status !== 'processed').length > 0) {
|
||||
// Upload not done
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
|
@ -363,7 +363,7 @@
|
||||
files = [
|
||||
...files,
|
||||
{
|
||||
type: e?.detail?.type ?? 'doc',
|
||||
type: e?.detail?.type ?? 'file',
|
||||
...e.detail,
|
||||
status: 'processed'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user