download stop button

This commit is contained in:
SpikeHD
2022-05-12 20:32:06 -07:00
parent 8ba3e7022d
commit 3c8a3f2537
8 changed files with 61 additions and 25 deletions

View File

@@ -86,7 +86,7 @@ export default class DownloadHandler {
return {
average: (progress / total) * 100 || 0,
files: this.downloads.filter(d => d.status !== 'finished').length,
files: this.downloads.filter(d => d.status !== 'finished' && d.status !== 'error').length,
totalSize: total,
}
}