fix typo
This commit is contained in:
parent
5fa6a1218f
commit
a9e6bd4669
@ -132,7 +132,7 @@ class SystemStatus extends Component {
|
|||||||
redirectingAuthorizedFetch(RESET_ENDPOINT, { method: 'POST' })
|
redirectingAuthorizedFetch(RESET_ENDPOINT, { method: 'POST' })
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
this.props.enqueueSnackbar("Device is reseting", { variant: 'info' });
|
this.props.enqueueSnackbar("Device is resetting", { variant: 'info' });
|
||||||
this.setState({ processing: false, confirmReset: false });
|
this.setState({ processing: false, confirmReset: false });
|
||||||
} else {
|
} else {
|
||||||
throw Error("Invalid status code: " + response.status);
|
throw Error("Invalid status code: " + response.status);
|
||||||
|
Loading…
Reference in New Issue
Block a user