mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
958d882ff9
commit
d9ccef8150
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue