This commit is contained in:
Rick Watson 2019-11-30 16:51:31 +00:00
parent 5fa6a1218f
commit a9e6bd4669

View File

@ -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);