Timothy J. Baek 7 tháng trước cách đây
mục cha
commit
54552c3d13
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/components/workspace/Knowledge/Collection.svelte

+ 1 - 1
src/lib/components/workspace/Knowledge/Collection.svelte

@@ -135,7 +135,7 @@
 
 			if (uploadedFile) {
 				console.log(uploadedFile);
-				addFileHandler(uploadedFile.id);
+				await addFileHandler(uploadedFile.id);
 			} else {
 				toast.error($i18n.t('Failed to upload file.'));
 			}