refac/fix: folder direct file upload

This commit is contained in:
Timothy Jaeryang Baek 2025-08-04 15:33:44 +04:00
parent 4c9ab7bd50
commit e262069265

View file

@ -30,6 +30,13 @@
const submitHandler = async () => {
loading = true;
if ((data?.files ?? []).some((file) => file.status === 'uploading')) {
toast.error($i18n.t('Please wait until all files are uploaded.'));
loading = false;
return;
}
await onSubmit({
name,
data