diff options
| author | Pitu <[email protected]> | 2020-12-27 04:27:56 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-12-27 04:27:56 +0900 |
| commit | e97fee48441717f3b508ac855339d0fb8210be53 (patch) | |
| tree | e7a2b9617736dc239d43e22e0b6dfc3c31e83d78 /src/site | |
| parent | Squashed commit of the following: (diff) | |
| download | host.fuwn.me-e97fee48441717f3b508ac855339d0fb8210be53.tar.xz host.fuwn.me-e97fee48441717f3b508ac855339d0fb8210be53.zip | |
Fixes chunked uploads not being saved to albums or thumbnails
Diffstat (limited to 'src/site')
| -rw-r--r-- | src/site/components/uploader/Uploader.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/site/components/uploader/Uploader.vue b/src/site/components/uploader/Uploader.vue index 70acf91..f180546 100644 --- a/src/site/components/uploader/Uploader.vue +++ b/src/site/components/uploader/Uploader.vue @@ -184,6 +184,10 @@ export default { type: file.type, count: file.upload.totalChunkCount }] + }, { + headers: { + albumId: this.selectedAlbum ? this.selectedAlbum : null + } }); this.processResult(file, data); |