mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
undefined bug fix
This commit is contained in:
committed by
Matt Hill
parent
d9a3d4a973
commit
817c6e3b24
@@ -23,7 +23,7 @@ export class PackageLoadingService {
|
||||
validateWeight * validated +
|
||||
unpackWeight * unpacked)
|
||||
|
||||
const denominator = Math.floor(loadData.size * (downloadWeight + validateWeight + unpackWeight))
|
||||
const denominator = Math.floor(size * (downloadWeight + validateWeight + unpackWeight))
|
||||
|
||||
return {
|
||||
totalProgress: Math.round(100 * numerator / denominator),
|
||||
|
||||
Reference in New Issue
Block a user