Fixed download bar

This commit is contained in:
RemixDev 2021-06-05 19:04:39 +02:00
parent 813c8e15bf
commit 268025fa2f
2 changed files with 1361 additions and 1361 deletions

File diff suppressed because one or more lines are too long

View File

@ -145,7 +145,7 @@ export default {
isSlim: 'getSlimDownloads'
}),
finishedWithoutErrors() {
const isCompletedWithoutErrors = el => el.errors.length === 0
const isCompletedWithoutErrors = el => (el.status || '') === 'download finished' && el.errors.length === 0
return Object.values(this.queueList).filter(isCompletedWithoutErrors)
}
@ -214,9 +214,9 @@ export default {
},
initQueue(data) {
const {
order: initQueue,
queueOrder: initQueue,
// queueComplete: initQueueComplete,
currentItem,
current: currentItem,
queue: initQueueList,
restored
} = data