mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +00:00
refac
This commit is contained in:
parent
958d882ff9
commit
d9ccef8150
@ -534,10 +534,10 @@
|
||||
type="file"
|
||||
multiple
|
||||
hidden
|
||||
on:change={() => {
|
||||
on:change={async () => {
|
||||
if (inputFiles && inputFiles.length > 0) {
|
||||
for (const file of inputFiles) {
|
||||
uploadFileHandler(file);
|
||||
await uploadFileHandler(file);
|
||||
}
|
||||
|
||||
inputFiles = null;
|
||||
|
Loading…
Reference in New Issue
Block a user