Valentin D. Pinkman
6 years ago
No known key found for this signature in database
GPG Key ID: E7D110669FFB8D3E
1 changed files with
2 additions and
0 deletions
-
src/components/SettingsPage/RepairDeviceButton.js
|
|
@ -58,9 +58,11 @@ class RepairDeviceButton extends PureComponent<Props, State> { |
|
|
|
}, |
|
|
|
error: error => { |
|
|
|
logger.critical(error) |
|
|
|
if (this.timeout) clearTimeout(this.timeout) |
|
|
|
this.setState({ error, isLoading: false, progress: 0 }) |
|
|
|
}, |
|
|
|
complete: () => { |
|
|
|
if (this.timeout) clearTimeout(this.timeout) |
|
|
|
this.setState({ opened: false, isLoading: false, progress: 0 }, () => { |
|
|
|
push('/manager') |
|
|
|
}) |
|
|
|