progress bar 'fix'

This commit is contained in:
SpikeHD
2022-07-26 20:49:20 -07:00
parent 7e5f3be4fa
commit 0971f5b826
5 changed files with 6 additions and 27 deletions

View File

@@ -57,7 +57,7 @@ export default class ProgressBar extends React.Component<IProps, IState> {
style={{
width: `${(() => {
// Handles no files downloading
if (this.state.files === 0) {
if (this.state.files === 0 || this.state.average >= 100) {
return '100'
}