Update files input
Deploy Manager App / deploy (push) Successful in 31s
Details
Deploy Manager App / deploy (push) Successful in 31s
Details
This commit is contained in:
parent
01142fd310
commit
62acb79002
|
|
@ -169,7 +169,7 @@ export default function OrdersPage({ onError }: { onError: (msg: string) => void
|
|||
const files = event.target.files;
|
||||
if (!files || files.length === 0) return;
|
||||
|
||||
const newFiles = [];
|
||||
const newFiles: { file_name: string; file_base64: string }[] = [];
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
const file = files[i];
|
||||
const base64 = await toBase64(file);
|
||||
|
|
|
|||
Loading…
Reference in New Issue