2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

fix upload dialog files - forEach not found.

This commit is contained in:
Miroslav Šedivý 2022-10-24 22:21:39 +02:00
parent 7c2550fc28
commit ba931ea52e

@ -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
},