mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
fix upload dialog files - forEach not found.
This commit is contained in:
+1
-1
@@ -379,7 +379,7 @@
|
||||
this.uploadActive = true
|
||||
this.uploadProgress = 0
|
||||
try {
|
||||
await this.neko.room.uploadDialog(files, {
|
||||
await this.neko.room.uploadDialog([...files], {
|
||||
onUploadProgress: (progressEvent: ProgressEvent) => {
|
||||
this.uploadProgress = (progressEvent.loaded / progressEvent.total) * 100
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user