mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
update patch types for current dependencies
This commit is contained in:
@@ -24,9 +24,3 @@ export class InstallingProgressPipe implements PipeTransform {
|
||||
return Number((progress.done / progress.total).toFixed(2))
|
||||
}
|
||||
}
|
||||
|
||||
function getProgress(progress: Progress): number | null {
|
||||
if (progress === true) return 1
|
||||
if (progress === false || !progress.total) return null
|
||||
return Number((progress.done / progress.total).toFixed(2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user