refac: knowledge collection uploading indicator

This commit is contained in:
Timothy J. Baek
2024-10-05 10:18:43 -07:00
parent 378223aedb
commit cb0f759420
5 changed files with 25 additions and 46 deletions
+1 -1
View File
@@ -654,7 +654,7 @@
);
} else if (
files.length > 0 &&
files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0
files.filter((file) => file.type !== 'image' && file.status === 'uploading').length > 0
) {
// Upload not done
toast.error(