Fixed download bar
This commit is contained in:
parent
813c8e15bf
commit
268025fa2f
2716
public/js/bundle.js
2716
public/js/bundle.js
File diff suppressed because one or more lines are too long
@ -145,7 +145,7 @@ export default {
|
|||||||
isSlim: 'getSlimDownloads'
|
isSlim: 'getSlimDownloads'
|
||||||
}),
|
}),
|
||||||
finishedWithoutErrors() {
|
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)
|
return Object.values(this.queueList).filter(isCompletedWithoutErrors)
|
||||||
}
|
}
|
||||||
@ -214,9 +214,9 @@ export default {
|
|||||||
},
|
},
|
||||||
initQueue(data) {
|
initQueue(data) {
|
||||||
const {
|
const {
|
||||||
order: initQueue,
|
queueOrder: initQueue,
|
||||||
// queueComplete: initQueueComplete,
|
// queueComplete: initQueueComplete,
|
||||||
currentItem,
|
current: currentItem,
|
||||||
queue: initQueueList,
|
queue: initQueueList,
|
||||||
restored
|
restored
|
||||||
} = data
|
} = data
|
||||||
|
Loading…
Reference in New Issue
Block a user