This commit is contained in:
Timothy J. Baek 2024-06-18 17:09:29 -07:00
parent 31f768bf8a
commit 807cfdecfb
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@
} 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.status !== 'processed').length > 0) {
// Upload not done // Upload not done
toast.error( toast.error(
$i18n.t( $i18n.t(

View File

@ -363,7 +363,7 @@
files = [ files = [
...files, ...files,
{ {
type: e?.detail?.type ?? 'doc', type: e?.detail?.type ?? 'file',
...e.detail, ...e.detail,
status: 'processed' status: 'processed'
} }