mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-16 17:14:36 +01:00
download stop button
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user