mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 16:14:48 +01:00
progress bar 'fix'
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user