Commit 07534ee2 authored by jfriedli's avatar jfriedli

Merge branch '5-fix-upload-progress-bug' into 'master'

Resolve "Fix Upload Progress Bug"

Closes #5

See merge request jfriedli/mat2-quasar-frontend!5
parents 0d396a36 f50d87e8
......@@ -6,7 +6,7 @@ services:
context: .
target: 'develop-stage'
environment:
- MAT2_API_URL_DEV=http://test.de:5000/
- MAT2_API_URL_DEV=http://localhost:5000/
ports:
- '8080:8080'
volumes:
......
......@@ -80,8 +80,8 @@ export default class JSONUploader extends Plugin {
self.uppy.log(`[XHRUpload] ${id} progress: ${progressEvent.loaded} / ${progressEvent.total}`)
self.uppy.emit('upload-progress', file, {
uploader: this,
bytesUploaded: progressEvent.total,
bytesTotal: progressEvent.loaded
bytesUploaded: progressEvent.loaded,
bytesTotal: progressEvent.total
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment