That's how we do in the east.

This commit is contained in:
retoor 2025-07-14 19:11:46 +02:00
parent 8321761358
commit 9a0ba22fe8

View File

@ -12,6 +12,7 @@ class FileUploadGrid extends NjetComponent {
this.channelUid = null ;
this.uploadsDone = 0;
this.uploadsStarted = 0;
this.uploadResponses = [];
}
openFileDialog() {
@ -165,8 +166,10 @@ class FileUploadGrid extends NjetComponent {
this.uploadResponses.push({file:file, remoteFile:data.file})
if(this.uploadsDone == this.uploadsStarted){
this.publish('file-uploads-done', this.uploadResponses);
console.info({"X":this.uploadResponses})
this.reset()
}
this.reset()
}
};
}