mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
refactor downstream for 036 changes (#2577)
refactor codebase for 036 changes
This commit is contained in:
@@ -43,8 +43,8 @@ export class SetupService extends Observable<number> {
|
||||
return 1
|
||||
}
|
||||
|
||||
return progress['total-bytes']
|
||||
? progress['bytes-transferred'] / progress['total-bytes']
|
||||
return progress.totalBytes
|
||||
? progress.bytesTransferred / progress.totalBytes
|
||||
: 0
|
||||
}),
|
||||
takeWhile(value => value !== 1, true),
|
||||
|
||||
Reference in New Issue
Block a user