mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2024-12-28 18:36:30 +00:00
Update downloadObject size after conversion
This commit is contained in:
parent
1b369da0b9
commit
6dc73ac69e
File diff suppressed because one or more lines are too long
|
@ -166,6 +166,7 @@ export default {
|
|||
mounted() {
|
||||
socket.on('startDownload', this.startDownload)
|
||||
socket.on('startConversion', this.startConversion)
|
||||
socket.on('finishConversion', this.finishConversion)
|
||||
// socket.on('init_downloadQueue', this.initQueue)
|
||||
socket.on('addedToQueue', this.addToQueue)
|
||||
socket.on('updateQueue', this.updateQueue)
|
||||
|
@ -426,6 +427,9 @@ export default {
|
|||
this.$set(this.queueList[uuid], 'status', 'converting')
|
||||
this.$set(this.queueList[uuid], 'conversion', 0)
|
||||
},
|
||||
finishConversion(downloadObject) {
|
||||
this.$set(this.queueList[downloadObject.uuid], 'size', downloadObject.size)
|
||||
},
|
||||
async showErrorsTab(item) {
|
||||
await this.setErrors(item)
|
||||
|
||||
|
|
Loading…
Reference in a new issue